<?php
namespace AdmBundle;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class AdmBundle extends Bundle
{
private static $containerInstance = null;
/**
* @param ContainerInterface|null $container
*/
public function setContainer(ContainerInterface $container = null)
{
parent::setContainer($container);
self::$containerInstance = $container;
}
/**
* @return ContainerInterface
*/
public static function getContainer()
{
return self::$containerInstance;
}
}