Container::enterScope

public Container::enterScope($name)

File

core/lib/Drupal/Component/DependencyInjection/Container.php, line 594

Class

Container
Provides a container optimized for Drupal's needs.

Namespace

Drupal\Component\DependencyInjection

Code

public function enterScope($name) {
  if ('request' !== $name) {
    @trigger_error('The ' . __METHOD__ . ' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
  }

  throw new \BadMethodCallException(sprintf("'%s' is not supported by Drupal 8.", __FUNCTION__));
}
doc_Drupal
2016-10-29 08:56:37
Comments
Leave a Comment

Please login to continue.