class FilterExecutor

internal  
 

Filter executor.

Methods

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

Registers run-time filter.

array
getAll()

Returns all run-time filters.

callable
__get(string $name)

Returns filter for classic calling.

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

Calls filter with FilterInfo.

Details

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

Registers run-time filter.

Parameters

string|null $name
callable $callback

Return Value

FilterExecutor

at line 51
array getAll()

Returns all run-time filters.

Return Value

array

at line 60
callable __get(string $name)

Returns filter for classic calling.

Parameters

string $name

Return Value

callable

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

Calls filter with FilterInfo.

Parameters

string $name
FilterInfo $info
mixed ...$args

Return Value

mixed