class ContainerNotInitializedException
Same name in other branches
- 9 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php \Drupal\Core\DependencyInjection\ContainerNotInitializedException
- 10 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php \Drupal\Core\DependencyInjection\ContainerNotInitializedException
- 11.x core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php \Drupal\Core\DependencyInjection\ContainerNotInitializedException
Exception thrown when a method is called that requires a container, but the container is not initialized yet.
Hierarchy
- class \Drupal\Core\DependencyInjection\ContainerNotInitializedException extends \Drupal\Core\DependencyInjection\RuntimeException
Expanded class hierarchy of ContainerNotInitializedException
See also
3 files declare their use of ContainerNotInitializedException
- Drupal.php in core/
lib/ Drupal.php - Contains \Drupal.
- DrupalTest.php in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - MigrateSqlSourceTestCase.php in core/
modules/ migrate/ tests/ src/ Unit/ MigrateSqlSourceTestCase.php
File
-
core/
lib/ Drupal/ Core/ DependencyInjection/ ContainerNotInitializedException.php, line 11
Namespace
Drupal\Core\DependencyInjectionView source
class ContainerNotInitializedException extends \RuntimeException {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.