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

      <bdo id='VDDbV'></bdo><ul id='VDDbV'></ul>
    <tfoot id='VDDbV'></tfoot>
    <legend id='VDDbV'><style id='VDDbV'><dir id='VDDbV'><q id='VDDbV'></q></dir></style></legend>

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

      1. Controller::detect() 在 Laravel 4 中未定义

        Controller::detect() undefined in Laravel 4(Controller::detect() 在 Laravel 4 中未定义)
      2. <i id='AHVmn'><tr id='AHVmn'><dt id='AHVmn'><q id='AHVmn'><span id='AHVmn'><b id='AHVmn'><form id='AHVmn'><ins id='AHVmn'></ins><ul id='AHVmn'></ul><sub id='AHVmn'></sub></form><legend id='AHVmn'></legend><bdo id='AHVmn'><pre id='AHVmn'><center id='AHVmn'></center></pre></bdo></b><th id='AHVmn'></th></span></q></dt></tr></i><div id='AHVmn'><tfoot id='AHVmn'></tfoot><dl id='AHVmn'><fieldset id='AHVmn'></fieldset></dl></div>
          <tbody id='AHVmn'></tbody>
          <tfoot id='AHVmn'></tfoot>

              <bdo id='AHVmn'></bdo><ul id='AHVmn'></ul>
                <legend id='AHVmn'><style id='AHVmn'><dir id='AHVmn'><q id='AHVmn'></q></dir></style></legend>
                • <small id='AHVmn'></small><noframes id='AHVmn'>

                  本文介绍了Controller::detect() 在 Laravel 4 中未定义的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  尝试在 Laravel 4 (Illuminate) 中注册所有控制器路由时,我收到一条错误消息,方法是添加:

                  I am getting an error message when trying to register all the controller routes in Laravel 4 (Illuminate) by adding:

                  Route::controller(Controller::detect());
                  

                  到我的 routes.php

                  错误:

                  Error: Call to undefined method IlluminateRoutingControllersController::detect() in C:wampwww	ravlessapp
                  outes.php line 13
                  

                  我想他们更改了函数名称,但我不知道在哪里可以找到它,因为它仍然是 alpha 版本并且没有我知道的文档.

                  I suppose they changed the function name, but I don't know where to find it because it is still an alpha version and there is no documentation I'm aware of.

                  推荐答案

                  由于不同文件系统的行为不一致,该函数已在 Laravel 4 中删除.注册控制器的正确方法应该是明确定义您希望在路由文件中使用的每一个.

                  This function has been removed in Laravel 4 because of inconsistent behavior with varying filesystems. The proper way to register controllers should be to explicitly define each one you wish to use in your routes file.

                  这篇关于Controller::detect() 在 Laravel 4 中未定义的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                • <small id='RnTCV'></small><noframes id='RnTCV'>

                      <tbody id='RnTCV'></tbody>
                    • <bdo id='RnTCV'></bdo><ul id='RnTCV'></ul>

                      <tfoot id='RnTCV'></tfoot>

                    • <legend id='RnTCV'><style id='RnTCV'><dir id='RnTCV'><q id='RnTCV'></q></dir></style></legend>

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