You are here

interface ContainerAwareInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

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.

... See full list

File

vendor/symfony/dependency-injection/ContainerAwareInterface.php, line 19

Namespace

Symfony\Component\DependencyInjection
View source
interface ContainerAwareInterface {

  /**
   * Sets the Container.
   *
   * @param ContainerInterface|null $container A ContainerInterface instance or null
   */
  public function setContainer(ContainerInterface $container = null);

}

Members