PHP Class DMS\Bundle\FilterBundle\Filter\ContainerFilter

Inheritance: extends DMS\Filter\Filters\BaseFilter, implements Symfony\Component\DependencyInjection\ContainerAwareInterface
Datei anzeigen Open project: rdohms/dms-filter-bundle

Protected Properties

Property Type Description
$container Symfony\Component\DependencyInjection\ContainerInterface

Public Methods

Method Description
apply ( Rule $rule, mixed $value ) : mixed Enforces the desired filtering on the the value returning a filtered value.
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null ) Sets the Container.

Method Details

apply() public method

Enforces the desired filtering on the the value returning a filtered value.
public apply ( Rule $rule, mixed $value ) : mixed
$rule DMS\Filter\Rules\Rule
$value mixed
return mixed

setContainer() public method

Sets the Container.
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance or null

Property Details

$container protected_oe property

protected ContainerInterface,Symfony\Component\DependencyInjection $container
return Symfony\Component\DependencyInjection\ContainerInterface