Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.2.0
-
Fix Version/s: None
-
Component/s: Attributes
-
Labels:None
Description
When defining a table with actAs attributes (Timestampable, Sluggable, ...) doctrine creates columns in the database and corresponding attributes in the model classes, but the PHPDOC in the model classes does not include getters and setters for these "automatic" attributes.
This is unconvenient when using an IDE as the getter are not present in the auto completion.
The enhancement would be to add the appropriate phpdoc @property tags so that symfony can generate all the @method tags.
see http://trac.symfony-project.org/ticket/8711
Thank you
Kevin Hatry
I don't think this is a problem that can be patched easily, unfortunately.