DeltaMiddleware
class DeltaMiddleware implements Middleware (View source)
Applies a set of user-customised modifications to config
Traits
Abstract flag-aware middleware
Methods
Set flag to use to disable this middleware
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
No description
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
array
__serialize()
void
__unserialize(array $data)
string
serialize()
deprecated
deprecated
The __serialize() magic method will be automatically used instead of this
unserialize(string $serialized)
deprecated
deprecated
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
__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