<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # 路由的中間件 The routing has been implemented as middleware. We are still using[FastRoute](https://github.com/nikic/FastRoute)as the default router but it is not tightly coupled to it. If you wanted to implement another routing library you could by creating your own implementations of the routing interfaces.`DispatcherInterface`,`RouteCollectorInterface`,`RouteParserInterface`and`RouteResolverInterface`which create a bridge between Slim’s components and the routing library. If you were using`determineRouteBeforeAppMiddleware`, you need to add the`Middleware\RoutingMiddleware`middleware to your application just before your call run() to maintain the previous behaviour. > 路由已作為中間件實現。我們仍然使用[FastRoute](https://github.com/nikic/FastRoute)作為默認路由器,但它并沒有與之緊密耦合。 > 如果希望實現另一個路由庫,可以創建自己的路由接口實現。`DispatcherInterface`,`RouteCollectorInterface`,`RouteParserInterface`and`RouteResolverInterface`在Slim的組件和路由庫之間建立了一座橋梁。如果您使用的是`Middleware\RoutingMiddleware`,那么您需要在調用run()之前將中間件路由中間件添加到您的應用程序中,以維護先前的行為。如果您使用的是`determineRouteBeforeAppMiddleware`,您需要在您的調用run()之前將`Middleware\RoutingMiddleware`中間件添加到您的應用程序中,以保持先前的行為。 ## Usage ~~~php <?php use Slim\Factory\AppFactory; require __DIR__ . '/../vendor/autoload.php'; $app = AppFactory::create(); // Add Routing Middleware $app->addRoutingMiddleware(); // ... $app->run(); ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看