interface ContainerAwareInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/dependency-injection/ContainerAwareInterface.php \Symfony\Component\DependencyInjection\ContainerAwareInterface
ContainerAwareInterface should be implemented by classes that depends on a Container.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- interface \Symfony\Component\DependencyInjection\ContainerAwareInterface
Expanded class hierarchy of ContainerAwareInterface
All classes that implement ContainerAwareInterface
18 files declare their use of ContainerAwareInterface
- BundleInterface.php in vendor/
symfony/ http-kernel/ Bundle/ BundleInterface.php - CacheFactory.php in core/
lib/ Drupal/ Core/ Cache/ CacheFactory.php - Contains \Drupal\Core\Cache\CacheFactory.
- ClassResolver.php in core/
lib/ Drupal/ Core/ DependencyInjection/ ClassResolver.php - Contains \Drupal\Core\DependencyInjection\ClassResolver.
- ContextualController.php in core/
modules/ contextual/ src/ ContextualController.php - Contains \Drupal\contextual\ContextualController.
- DependencySerializationTest.php in core/
tests/ Drupal/ Tests/ Core/ DependencyInjection/ DependencySerializationTest.php - Contains \Drupal\Tests\Core\DependencyInjection\DependencySerializationTest.
File
- vendor/
symfony/ dependency-injection/ ContainerAwareInterface.php, line 19
Namespace
Symfony\Component\DependencyInjectionView source
interface ContainerAwareInterface {
/**
* Sets the Container.
*
* @param ContainerInterface|null $container A ContainerInterface instance or null
*/
public function setContainer(ContainerInterface $container = null);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ContainerAwareInterface:: |
public | function | Sets the Container. | 4 |