You are here

protected static property Drupal::$container in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal.php \Drupal::container

The currently active container object.

Type: \Drupal\service_container\DependencyInjection\ContainerInterface

File

lib/Drupal.php, line 25
Contains Drupal 7 foreward compatibility layer for Drupal 8.

Class

Drupal
Static Service Container wrapper.

Code

protected static $container;