On this page
Class AbstractDecorator
Common base class for event decorator subclasses.
Direct Subclasses
Properties summary
- 
    
$_callableprotectedCallablecallable - 
    
$_optionsprotectedDecorator optionsarray 
Method Summary
- 
    __construct() publicConstructor.
 - 
    __invoke() publicInvoke
 - 
    _call() protectedCalls the decorated callable with the passed arguments.
 
Method Detail
__construct()source public
__construct( callable $callable , array $options [] )
   Constructor.
Parameters
- 
     callable 
$callable - Callable.
 - 
     array 
$optionsoptional [] - Decorator options.
 
__invoke()source public
__invoke( )
   Invoke
Returns
mixedLink
http://php.net/manual/en/language.oop5.magic.php#object.invoke_call()source protected
_call( array $args )
   Calls the decorated callable with the passed arguments.
Parameters
- 
     array 
$args - Arguments for the callable.
 
Returns
mixedProperties detail
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
 https://api.cakephp.org/3.3/class-Cake.Event.Decorator.AbstractDecorator.html