Check for whether or not a service has been initialized.
Parameters
string $id:
Return value
Boolean true if the service has been initialized, false otherwise
File
- drupal/core/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php, line 31
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);