[DDC-1325] Adding @Target to annotations Created: 10/Aug/11  Updated: 14/Aug/11  Resolved: 14/Aug/11

Status: Resolved
Project: Doctrine 2 - ORM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.2
Security Level: All

Type: Improvement Priority: Major
Reporter: Johannes Schmitt Assignee: Benjamin Eberlei
Resolution: Fixed Votes: 0
Labels: None


Now that the annotation parser has support for the @Target annotation, we should also add it to the annotations of the ORM.

I have looked through the mapping file, but I'm not familiar with all the annotations, so someone else is probably better suited to add them.

Usage is as follows:

@Target("CLASS") for a single target


) for multiple targets (annotation if it can be used as a nested annotation)

Comment by Benjamin Eberlei [ 14/Aug/11 ]


Generated at Tue Dec 01 07:59:22 EST 2015 using JIRA 6.4.10#64025-sha1:5b8b74079161cd76a20ab66dda52747ee6701bd6.