mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
New annotation driver and typed properties not mentioned in docs #6772
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fridde on GitHub (Jun 29, 2021).
According to this announcement post from May 24 by @beberlei we now can use the new annotation syntax introduced in PHP 8 and also we can use typed properties to type hint associations between entities.
If I haven't missed anything, the docs make absolutely no mention of these features and only instruct the corresponding topics the "old way" (docblocks, yaml, XML, PHP).
Is this part of the docs an ongoing project? Or are these features not mature enough to be introduced into the docs?
@greg0ire commented on GitHub (Jun 30, 2021):
You have missed this: https://github.com/doctrine/orm/blob/2.9.x/docs/en/reference/attributes-reference.rst, probably because that page exists but for some reason, isn't reference anywhere. Would you like to fix that? Looking for its legacy counterpart shows where it should be referenced: https://github.com/doctrine/orm/search?q=annotations-reference
@fridde commented on GitHub (Jul 5, 2021):
Done. Thanks for your help! You can close this issue as soon as the PR is approved.