public function IntrospectableContainerInterface::initialized in Service Container 7.2
Same name in this branch
- 7.2 lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface::initialized()
- 7.2 modules/providers/service_container_symfony/lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface::initialized()
Same name and namespace in other branches
- 7 lib/Symfony/Component/DependencyInjection/IntrospectableContainerInterface.php \Symfony\Component\DependencyInjection\IntrospectableContainerInterface::initialized()
- 7 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
- 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\DependencyInjectionCode
public function initialized($id);