[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


 Description   

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
@Target(

{"CLASS", "METHOD", "PROPERTY", "ANNOTATION"}

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



 Comments   
Comment by Benjamin Eberlei [ 14/Aug/11 ]

Resolved

Generated at Thu Sep 18 13:55:07 UTC 2014 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.