PHP Trait Bolt\Storage\Field\Sanitiser\SanitiserAwareTrait

Author: Gawain Lynch ([email protected])
Show file Open project: bolt/bolt

Protected Properties

Property Type Description
$sanitiser Bolt\Storage\Field\Sanitiser\SanitiserInterface

Public Methods

Method Description
getSanitiser ( ) : Bolt\Storage\Field\Sanitiser\SanitiserInterface Return the sanitiser object.
setSanitiser ( Bolt\Storage\Field\Sanitiser\SanitiserInterface $sanitiser ) Set the sanitiser.

Method Details

getSanitiser() public method

Return the sanitiser object.
public getSanitiser ( ) : Bolt\Storage\Field\Sanitiser\SanitiserInterface
return Bolt\Storage\Field\Sanitiser\SanitiserInterface

setSanitiser() public method

Set the sanitiser.
public setSanitiser ( Bolt\Storage\Field\Sanitiser\SanitiserInterface $sanitiser )
$sanitiser Bolt\Storage\Field\Sanitiser\SanitiserInterface

Property Details

$sanitiser protected property

protected SanitiserInterface,Bolt\Storage\Field\Sanitiser $sanitiser
return Bolt\Storage\Field\Sanitiser\SanitiserInterface