\Cake\CoreHttpApplicationInterface

An interface defining the methods that the http server depend on.

Summary

Methods
Constants
bootstrap()
routes()
middleware()
__invoke()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

bootstrap()

bootstrap() : void

Load all the application configuration and bootstrap logic.

Override this method to add additional bootstrap logic for your application.

routes()

routes(\Cake\Routing\RouteBuilder  $routes) : void

Define the routes for an application.

Use the provided RouteBuilder to define an application's routing.

Parameters

\Cake\Routing\RouteBuilder $routes

A route builder to add routes into.

middleware()

middleware(\Cake\Http\MiddlewareQueue  $middleware) : \Cake\Http\MiddlewareQueue

Define the HTTP middleware layers for an application.

Parameters

\Cake\Http\MiddlewareQueue $middleware

The middleware queue to set in your App Class

Returns

\Cake\Http\MiddlewareQueue