class FilterExecutor

Filter executor.

Methods

add(string|null $name, callable $callback)

Registers run-time filter.

array
getAll()

Returns all run-time filters.

callable
__get($name)

Returns filter for classic calling.

mixed
filterContent(string $name, FilterInfo $info, ...$args)

Calls filter with FilterInfo.

Details

at line 67
FilterExecutor add(string|null $name, callable $callback)

Registers run-time filter.

Parameters

string|null $name
callable $callback

Return Value

FilterExecutor

at line 84
array getAll()

Returns all run-time filters.

Return Value

array

at line 93
callable __get($name)

Returns filter for classic calling.

Parameters

$name

Return Value

callable

at line 139
mixed filterContent(string $name, FilterInfo $info, ...$args)

Calls filter with FilterInfo.

Parameters

string $name
FilterInfo $info
...$args

Return Value

mixed