interface ContainerAwareInterface

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

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of ContainerAwareInterface

All classes that implement ContainerAwareInterface

3 files declare their use of ContainerAwareInterface
BundleInterface.php in drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Bundle/BundleInterface.php
ControllerResolver.php in drupal/core/lib/Drupal/Core/ControllerResolver.php
Definition of Drupal\Core\ControllerResolver.
HtmlPageController.php in drupal/core/lib/Drupal/Core/HtmlPageController.php
Definition of Drupal\Core\HtmlPageController.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerAwareInterface.php, line 21

Namespace

Symfony\Component\DependencyInjection
View source
interface ContainerAwareInterface {

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

}

Members