0 votes

Is it possible to export @var annotations on class properties?

Like this:

 * @ORM\Column(type="string", length=255, nullable=true)
 * @var string
private $firstname;

Would be much nicer to generate type-hinted getters and setters from this.

Of course using FQCN for related objects would also be very nice.

Also it would be very nice to have templating control over how annotations are generated to add Symfony validation constraints for example.

in Feature Request by (120 points)

This is currently not supported. We can discuss it here if we're able to support non-orm features like this

Regarding templates, this could be very hard. Parsing and generating annotations is the very complex task (because of processing only some annotations without touching others).

Problem with @var variable is that Skipper has to also update and delete such variables. But @var can be used also on non-ORM properties and there will be no way how to detect which @vars can Skipper delete.

Please log in or register to answer this question.