An interface defining the methods that the http server depend on.
__invoke( Psr\Http\Message\ServerRequestInterface $request , Psr\Http\Message\ResponseInterface $response , callable $next )
Invoke the application.
$request
$response
$next
bootstrap( )
Load all the application configuration and bootstrap logic.
Override this method to add additional bootstrap logic for your application.
middleware( Cake\Http\MiddlewareQueue $middleware )
Define the HTTP middleware layers for an application.
Cake\Http\MiddlewareQueue
$middleware
Cake\Http\MiddlewareQueue
routes( Cake\Routing\RouteBuilder $routes )
Define the routes for an application.
Use the provided RouteBuilder to define an application's routing.
Cake\Routing\RouteBuilder
$routes
© 2005–2018 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.6/class-Cake.Core.HttpApplicationInterface.html