PHP Class Airship\Engine\Security\Filter\BoolFilter

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

Protected Properties

Property Type Description
$default mixed
$type string

Public Methods

Method Description
setDefault ( mixed $value ) : Airship\Engine\Contract\Security\FilterInterface Set the default value (not applicable to booleans)
setType ( string $typeIndicator ) : Airship\Engine\Contract\Security\FilterInterface Sets the expected input type (e.g. string, boolean)

Method Details

setDefault() public method

Set the default value (not applicable to booleans)
public setDefault ( mixed $value ) : Airship\Engine\Contract\Security\FilterInterface
$value mixed
return Airship\Engine\Contract\Security\FilterInterface

setType() public method

Sets the expected input type (e.g. string, boolean)
public setType ( string $typeIndicator ) : Airship\Engine\Contract\Security\FilterInterface
$typeIndicator string
return Airship\Engine\Contract\Security\FilterInterface

Property Details

$default protected property

protected mixed $default
return mixed

$type protected property

protected string $type
return string