Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/friendsofcake/crud-json-api/tests/App/Application.php
<?php
namespace CrudJsonApi\Test\App;

use
Cake\Http\BaseApplication;
use
Cake\Routing\Middleware\AssetMiddleware;
use
Cake\Routing\Middleware\RoutingMiddleware;

class
Application extends BaseApplication
{

    public function
middleware($middlewareQueue)
    {
       
$middlewareQueue
           
// Handle plugin/theme assets like CakePHP normally does.
           
->add(AssetMiddleware::class)

           
// Add routing middleware.
           
->add(new RoutingMiddleware($this));

        return
$middlewareQueue;
    }
}