简体   繁体   English

symfony 2.6中的appBundle

[英]appBundle in symfony 2.6

i would like to understand what is the role of AppBundle in symfony 2.6,it comes always when I create a new project.. Thank you for your help. 我想了解AppBundle在symfony 2.6中的作用是什么,当我创建一个新项目时,它总是会出现的。。谢谢您的帮助。

在此处输入图片说明

It's meant to be used for your application specific logic. 它旨在用于您的特定于应用程序的逻辑。 This is one of Symfony's best practices ( http://symfony.com/doc/current/best_practices/creating-the-project.html ). 这是Symfony的最佳做法之一( http://symfony.com/doc/current/best_practices/creating-the-project.html )。

These best practices are guidelines, not rules, so feel free to structure your code how you think/feel is best. 这些最佳实践是指导原则,而不是规则,因此,您可以按照自己的想法/感觉来构建代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM