Documentation

Controller
in package

Table of Contents

Methods

__construct()  : mixed
Calls to controller middlewares according to route definition
invokeBeforeMiddlewares()  : void
Calls the middlewares as before middlewares

Methods

__construct()

Calls to controller middlewares according to route definition

public __construct(array<string|int, mixed> $middlewares) : mixed
Parameters
$middlewares : array<string|int, mixed>

invokeBeforeMiddlewares()

Calls the middlewares as before middlewares

public invokeBeforeMiddlewares(array<string|int, mixed> $middlewares[, stdClass $payload = new stdClass() ]) : void
Parameters
$middlewares : array<string|int, mixed>
$payload : stdClass = new stdClass()

        
On this page

Search results