class ExtensionMiddleware implements Middleware (View source)

Traits

Abstract flag-aware middleware

Methods

$this
setDisableFlag(int $disableFlag)

Set flag to use to disable this middleware

int
getDisableFlag()

Get flag to use to disable this middleware

serialize()

No description

unserialize($serialized)

No description

__construct($disableFlag = 0)

No description

array
getClassConfig(string $class, int|true $excludeMiddleware, callable $next)

Get config for a class

Details

$this setDisableFlag(int $disableFlag)

Set flag to use to disable this middleware

Parameters

int $disableFlag

Return Value

$this

int getDisableFlag()

Get flag to use to disable this middleware

Return Value

int

unserialize($serialized)

Parameters

$serialized

__construct($disableFlag = 0)

Parameters

$disableFlag

array getClassConfig(string $class, int|true $excludeMiddleware, callable $next)

Get config for a class

Parameters

string $class

Name of class

int|true $excludeMiddleware

Middleware disable flags

callable $next

Callback to next middleware

Return Value

array

Complete class config