Fr3nch13/CakePHP Utilities

AbstractDecorator
in package

AbstractYes

Common base class for event decorator subclasses.

Table of Contents

Properties

$_callable  : callable
Callable
$_options  : array<string|int, mixed>
Decorator options

Methods

__construct()  : mixed
Constructor.
__invoke()  : mixed
Invoke
_call()  : mixed
Calls the decorated callable with the passed arguments.

Properties

$_options

Decorator options

protected array<string|int, mixed> $_options = []

Methods

__construct()

Constructor.

public __construct(callable $callable[, array<string, mixed> $options = [] ]) : mixed
Parameters
$callable : callable

Callable.

$options : array<string, mixed> = []

Decorator options.

_call()

Calls the decorated callable with the passed arguments.

protected _call(array<string|int, mixed> $args) : mixed
Parameters
$args : array<string|int, mixed>

Arguments for the callable.


        
On this page

Search results