VichUploaderBundle
VichUploaderBundle copied to clipboard
Override annotaions similar to Doctrine ?
I use traits and I would like to override annotations. Currently it looks like there is no such option. Is it possible to override annotations like doctrine does http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/tutorials/override-field-association-mappings-in-subclasses.html?
I know I can use abstract class and put trait there and then extend that class, but that seems awkward.
It looks like an edge case to me, and even annotation override is awkward. My suggestion is to drop annotations and use xml or yaml mapping.