You are here

interface IntrospectableContainerInterface in Service Container 7

Same name in this branch
  1. 7 lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface
  2. 7 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface
Same name and namespace in other branches
  1. 7.2 lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface
  2. 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface

IntrospectableContainerInterface defines additional introspection functionality for containers, allowing logic to be implemented based on a Container's state.

@author Evan Villemez <evillemez@gmail.com>

Hierarchy

Expanded class hierarchy of IntrospectableContainerInterface

All classes that implement IntrospectableContainerInterface

3 files declare their use of IntrospectableContainerInterface
Container.php in lib/Drupal/Component/DependencyInjection/Container.php
Contains \Drupal\Component\DependencyInjection\Container.
ContainerAwareEventDispatcher.php in lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php
Contains \Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.
ContainerInterface.php in src/DependencyInjection/ContainerInterface.php
Contains \Drupal\service_container\DependencyInjection\ContainerInterface.

File

lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php, line 20

Namespace

Symfony\Component\DependencyInjection
View source
interface IntrospectableContainerInterface extends ContainerInterface {

  /**
   * Check for whether or not a service has been initialized.
   *
   * @param string $id
   *
   * @return bool true if the service has been initialized, false otherwise
   */
  public function initialized($id);

}

Members

Namesort descending Modifiers Type Description Overrides
IntrospectableContainerInterface::initialized public function Check for whether or not a service has been initialized.