PHP Class DMS\Bundle\FilterBundle\Loader\ContainerAwareLoader

Inheritance: extends DMS\Filter\Filters\Loader\FilterLoader, implements Symfony\Component\DependencyInjection\ContainerAwareInterface
Datei anzeigen Open project: rdohms/dms-filter-bundle Class Usage Examples

Protected Properties

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

Public Methods

Method Description
getFilterForRule ( Rule $rule ) : BaseFilter Attempts to load Filter from Container or hands off to parent loader.
setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )

Method Details

getFilterForRule() public method

Attempts to load Filter from Container or hands off to parent loader.
public getFilterForRule ( Rule $rule ) : BaseFilter
$rule DMS\Filter\Rules\Rule
return DMS\Filter\Filters\BaseFilter

setContainer() public method

public setContainer ( Symfony\Component\DependencyInjection\ContainerInterface $container = null )
$container Symfony\Component\DependencyInjection\ContainerInterface

Property Details

$container protected_oe property

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