PHP Class Airship\Engine\Security\Filter\WhiteList

Inheritance: extends InputFilter
Show file Open project: paragonie/airship

Protected Properties

Property Type Description
$allowedValues array

Public Methods

Method Description
__construct ( $values ) WhiteList constructor.
process ( mixed $data = null ) : mixed Process data using the filter rules.

Protected Methods

Method Description
addToWhiteList ( $values )

Method Details

__construct() public method

WhiteList constructor.
public __construct ( $values )
$values

addToWhiteList() protected method

protected addToWhiteList ( $values )
$values

process() public method

Process data using the filter rules.
public process ( mixed $data = null ) : mixed
$data mixed
return mixed

Property Details

$allowedValues protected property

protected array $allowedValues
return array