Documentation

SystemController extends Controller
in package

The is the master controller for system related routing.

It is currently only responsible for serving up the asset combiner contents.

Tags
see
CombineAssets

Asset combiner class

author

Alexey Bobkov, Samuel Georges

Table of Contents

$middleware  : array<string|int, mixed>
The middleware registered on the controller.
__call()  : mixed
Handle calls to missing methods on the controller.
callAction()  : Response
Execute an action on the controller.
combine()  : string
Combines JavaScript and StyleSheet assets.
getMiddleware()  : array<string|int, mixed>
Get the middleware assigned to the controller.
middleware()  : ControllerMiddlewareOptions
Register middleware on the controller.

Properties

$middleware

The middleware registered on the controller.

protected array<string|int, mixed> $middleware = []

Methods

__call()

Handle calls to missing methods on the controller.

public __call(string $method, array<string|int, mixed> $parameters) : mixed
Parameters
$method : string
$parameters : array<string|int, mixed>
Tags
throws
BadMethodCallException
Return values
mixed

callAction()

Execute an action on the controller.

public callAction(string $method, array<string|int, mixed> $parameters) : Response
Parameters
$method : string
$parameters : array<string|int, mixed>
Return values
Response

combine()

Combines JavaScript and StyleSheet assets.

public combine(string $name) : string
Parameters
$name : string

Combined file code

Return values
string

Combined content.

getMiddleware()

Get the middleware assigned to the controller.

public getMiddleware() : array<string|int, mixed>
Return values
array<string|int, mixed>

middleware()

Register middleware on the controller.

public middleware(array<string|int, mixed>|string|Closure $middleware[, array<string|int, mixed> $options = [] ]) : ControllerMiddlewareOptions
Parameters
$middleware : array<string|int, mixed>|string|Closure
$options : array<string|int, mixed> = []
Return values
ControllerMiddlewareOptions

Search results