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

File

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

Class

Container
Container is a dependency injection container.

Namespace

Symfony\Component\DependencyInjection

Code

public function initialized($id) {
  return isset($this->services[strtolower($id)]);
}