<legend id='lWLdv'><style id='lWLdv'><dir id='lWLdv'><q id='lWLdv'></q></dir></style></legend>
  • <i id='lWLdv'><tr id='lWLdv'><dt id='lWLdv'><q id='lWLdv'><span id='lWLdv'><b id='lWLdv'><form id='lWLdv'><ins id='lWLdv'></ins><ul id='lWLdv'></ul><sub id='lWLdv'></sub></form><legend id='lWLdv'></legend><bdo id='lWLdv'><pre id='lWLdv'><center id='lWLdv'></center></pre></bdo></b><th id='lWLdv'></th></span></q></dt></tr></i><div id='lWLdv'><tfoot id='lWLdv'></tfoot><dl id='lWLdv'><fieldset id='lWLdv'></fieldset></dl></div>

    <small id='lWLdv'></small><noframes id='lWLdv'>

    <tfoot id='lWLdv'></tfoot>

      <bdo id='lWLdv'></bdo><ul id='lWLdv'></ul>

      1. Doctrine Query 类不在实体目录中

        Doctrine Query Class Not in Entity Directory(Doctrine Query 类不在实体目录中)

        <i id='i0USr'><tr id='i0USr'><dt id='i0USr'><q id='i0USr'><span id='i0USr'><b id='i0USr'><form id='i0USr'><ins id='i0USr'></ins><ul id='i0USr'></ul><sub id='i0USr'></sub></form><legend id='i0USr'></legend><bdo id='i0USr'><pre id='i0USr'><center id='i0USr'></center></pre></bdo></b><th id='i0USr'></th></span></q></dt></tr></i><div id='i0USr'><tfoot id='i0USr'></tfoot><dl id='i0USr'><fieldset id='i0USr'></fieldset></dl></div>
          • <tfoot id='i0USr'></tfoot>

                <tbody id='i0USr'></tbody>
                  <bdo id='i0USr'></bdo><ul id='i0USr'></ul>
                  <legend id='i0USr'><style id='i0USr'><dir id='i0USr'><q id='i0USr'></q></dir></style></legend>

                  <small id='i0USr'></small><noframes id='i0USr'>

                • 本文介绍了Doctrine Query 类不在实体目录中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的捆绑包的实体目录变得非常大.我希望能够将我的类分组到子目录中.例如Entity/Forum/中所有与论坛相关的类.我已经能够相对成功地做到这一点,但我现在不知道如何进行教义查询.

                  My Entity directory for my bundle is getting quite large. I'd like to be able to group my classes into sub-directories. For example, all forum related classes in Entity/Forum/. I've been able to do this relatively successfully, but I don't know how to do a doctrine query now.

                  以下不起作用.

                  SELECT fp
                  FROM AcmeMainBundle:ForumPost fp
                  WHERE 1
                  

                  如何查询不在实体文件夹中的实体?

                  How do I query an entity not directly in the Entity Folder?

                  推荐答案

                  SELECT fp
                  FROM AcmeMainBundle:ForumForumPost fp
                  WHERE 1
                  

                  只要您更改了要移动到单独文件夹的实体的命名空间,这将起作用,例如 AcmeMainBundleEntityForumForumPost

                  This will work as long as you have changed the namespace of the entities you are moving to a seperate folder, for example AcmeMainBundleEntityForumForumPost

                  这篇关于Doctrine Query 类不在实体目录中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting between timezones in PHP(在 PHP 中的时区之间转换)
                  PHP - strtotime, specify timezone(PHP - strtotime,指定时区)
                  Get current date, given a timezone in PHP?(获取当前日期,给定 PHP 中的时区?)
                  List of US Time Zones for PHP to use?(PHP 使用的美国时区列表?)
                  How to detect Ambiguous and Invalid DateTime in PHP?(如何在 PHP 中检测不明确和无效的 DateTime?)
                  How to update timezonedb in PHP (updating timezones info)?(如何在 PHP 中更新 timezonedb(更新时区信息)?)

                  1. <small id='NUckG'></small><noframes id='NUckG'>

                    <legend id='NUckG'><style id='NUckG'><dir id='NUckG'><q id='NUckG'></q></dir></style></legend>
                    <tfoot id='NUckG'></tfoot>

                      <bdo id='NUckG'></bdo><ul id='NUckG'></ul>

                          <i id='NUckG'><tr id='NUckG'><dt id='NUckG'><q id='NUckG'><span id='NUckG'><b id='NUckG'><form id='NUckG'><ins id='NUckG'></ins><ul id='NUckG'></ul><sub id='NUckG'></sub></form><legend id='NUckG'></legend><bdo id='NUckG'><pre id='NUckG'><center id='NUckG'></center></pre></bdo></b><th id='NUckG'></th></span></q></dt></tr></i><div id='NUckG'><tfoot id='NUckG'></tfoot><dl id='NUckG'><fieldset id='NUckG'></fieldset></dl></div>
                              <tbody id='NUckG'></tbody>