So that the behavior template can be autoloaded when necessary.
I'm confused by the complex settings.
So that the behavior template can be autoloaded when necessary.
I'm confused by the complex settings.
I put them in lib/doctrine, and if there's a listener as well, put that in lib/doctrine/listener.
Symfony's autoloader will find the classes and load them for you pretty much wherever you put them (as long as its vaguely logical). The only exception is if you create a new vendor folder, you will need to tell the autoloader to check there as well.