Returns the currently active global container.
\Symfony\Component\DependencyInjection\ContainerInterface
This method is only useful for the testing environment, and as a BC shiv for drupal_container(). It should not be used otherwise.
public static function getContainer() {
return static::$container;
}