/var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Event/Decorator
Edit: /var/www/vhosts/ihelp.ro/_OLD/vendor/cakephp/cakephp/src/Event/Decorator/AbstractDecorator.php (1741B)
_callable = $callable;
$this->_options = $options;
}
/**
* Invoke
*
* @link https://secure.php.net/manual/en/language.oop5.magic.php#object.invoke
* @return mixed
*/
public function __invoke()
{
return $this->_call(func_get_args());
}
/**
* Calls the decorated callable with the passed arguments.
*
* @param array $args Arguments for the callable.
* @return mixed
*/
protected function _call(array $args)
{
$callable = $this->_callable;
return $callable(...$args);
}
}