Where to save customized behavior for doctrine in a symfony1.4 project?
So that the behavior template can be autoloaded when necess开发者_运维问答ary.
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.
精彩评论