You are here

public function IntrospectableContainerInterface::initialized in Service Container 7

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

Check for whether or not a service has been initialized.

Parameters

string $id:

Return value

bool true if the service has been initialized, false otherwise

File

modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php, line 29

Class

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

Namespace

Symfony\Component\DependencyInjection

Code

public function initialized($id);