PHP Интерфейс Airship\Engine\Contract\Security\FilterInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
addCallback ( callable $func ) : Airship\Engine\Contract\Security\FilterInterface Add a callback to this filter (supports more than one)
process ( mixed $data ) : mixed Process data using the filter rules.
setDefault ( $value ) : Airship\Engine\Contract\Security\FilterInterface Set the default value (not applicable to booleans)
setIndex ( string $index ) : Airship\Engine\Contract\Security\FilterInterface
setType ( string $typeIndicator ) : Airship\Engine\Contract\Security\FilterInterface Sets the expected input type (e.g. string, boolean)

Описание методов

addCallback() публичный Метод

Add a callback to this filter (supports more than one)
public addCallback ( callable $func ) : Airship\Engine\Contract\Security\FilterInterface
$func callable
Результат Airship\Engine\Contract\Security\FilterInterface

process() публичный Метод

Process data using the filter rules.
public process ( mixed $data ) : mixed
$data mixed
Результат mixed

setDefault() публичный Метод

Set the default value (not applicable to booleans)
public setDefault ( $value ) : Airship\Engine\Contract\Security\FilterInterface
$value
Результат Airship\Engine\Contract\Security\FilterInterface

setIndex() публичный Метод

public setIndex ( string $index ) : Airship\Engine\Contract\Security\FilterInterface
$index string
Результат Airship\Engine\Contract\Security\FilterInterface

setType() публичный Метод

Sets the expected input type (e.g. string, boolean)
public setType ( string $typeIndicator ) : Airship\Engine\Contract\Security\FilterInterface
$typeIndicator string
Результат Airship\Engine\Contract\Security\FilterInterface