Class AbstractDecorator
Common base class for event decorator subclasses.
Direct Subclasses
Properties summary
-
$_callable
protectedcallable
Callable -
$_options
protectedarray
Decorator options
Method Summary
-
__construct() public
Constructor. -
__invoke() public
Invoke -
_call() protected
Calls the decorated callable with the passed arguments.
Method Detail
__construct() public ¶
__construct( callable $callable , array $options = [] )
Constructor.
Parameters
- callable $callable
- Callable.
- array $options optional []
- Decorator options.