Interface

Symfony\Component\DependencyInjection\ContainerAwareInterface

interface ContainerAwareInterface

ContainerAwareInterface should be implemented by classes that depends on a Container.

Methods

setContainer(ContainerInterface $container = null)

Sets the Container.

Details

at line 30
public setContainer(ContainerInterface $container = null)

Sets the Container.

Parameters

ContainerInterface $container A ContainerInterface instance