DeltaMiddleware
class DeltaMiddleware implements Middleware (View source)
Applies a set of user-customised modifications to config
Traits
Abstract flag-aware middleware
Methods
$this
setDisableFlag(int $disableFlag)
Set flag to use to disable this middleware
from
MiddlewareCommon
getCollection()
No description
$this
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
int
getDisableFlag()
Get flag to use to disable this middleware
serialize()
unserialize($serialized)
__construct(DeltaConfigCollection $collection, int $disableFlag = 0)
DeltaMiddleware constructor.
DeltaConfigCollection
getCollection()
$this
setCollection(DeltaConfigCollection $collection)
array
getClassConfig(string $class, int|true $excludeMiddleware, callable $next)
Get config for a class