public function Container::initialized

Returns true if the given service has actually been initialized

Parameters

string $id The service identifier:

Return value

Boolean true if service has already been initialized, false otherwise

Overrides IntrospectableContainerInterface::initialized

3 calls to Container::initialized()
ContainerBuilder::synchronize in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/ContainerBuilder.php
Synchronizes a service change.
ProjectServiceContainer::synchronizeRequestService in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9.php
Updates the 'request' service.
ProjectServiceContainer::synchronizeRequestService in drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Tests/Fixtures/php/services9_compiled.php
Updates the 'request' service.

File

drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php, line 325

Class

Container
Container is a dependency injection container.

Namespace

Symfony\Component\DependencyInjection

Code

public function initialized($id) {
  return array_key_exists(strtolower($id), $this->services);
}