开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜