mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-1198: Add PHPDocs to annotationclasses #1508
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 @doctrinebot on GitHub (Jun 8, 2011).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user pulse00:
If an IDE would like to support annotations, it's currently only possible to display all resolvable classes in a code-hint menu when autocompleting annotations, as
basically any class can be used for annotations.
To make it possible for IDEs to detect classes which are explicitly meant to be used as annotations, it would be nice to agree on some common
way of documenting annotations in PHPDocBlocks.
Here's an example of what this could look like:
25a14e9edcThis way IDEs can prioritize annotated classes in code-hints and add additional information to the user.
@malukenho commented on GitHub (Jan 3, 2017):
@Ocramius @lcobucci It's not related to the ORM IMHO