MiddlewareCommon
trait MiddlewareCommon (View source)
Abstract flag-aware middleware
Methods
Set flag to use to disable this middleware
Get flag to use to disable this middleware
No description
No description
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
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