Hello,

I would like to know, how to register directory for entities annotation (metadata) when loading entities from vendor extension. Is there any possibility to get annotation driver from container builder and add metadata directories?

When calling directly:

$builder->getDefinition(
‘doctrine.default.driver.Kdyby_Doctrine.annotationsImpl’ )->addSetup(‘addPaths’, $paths)

, nothing takes affect.

Thanks


You must first log in to participate in this discussion