DMS\Bundle\FilterBundle\Filter\ContainerFilter::setContainer PHP Method

setContainer() public method

Sets the Container.
public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface A ContainerInterface instance or null
    public function setContainer(ContainerInterface $container = null)
    {
        $this->container = $container;
    }
ContainerFilter