ContainerNotInitializedException.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php
  2. 10 core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php
  3. 11.x core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php

Namespace

Drupal\Core\DependencyInjection

File

core/lib/Drupal/Core/DependencyInjection/ContainerNotInitializedException.php

View source
<?php

namespace Drupal\Core\DependencyInjection;


/**
 * Exception thrown when a method is called that requires a container, but the
 * container is not initialized yet.
 *
 * @see \Drupal
 */
class ContainerNotInitializedException extends \RuntimeException {

}

Classes

Title Deprecated Summary
ContainerNotInitializedException Exception thrown when a method is called that requires a container, but the container is not initialized yet.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.