/** * @param bool $reset whether to forcibly rebuild the entire container * @return \Symfony\Component\DependencyInjection\ContainerBuilder */ public static function GetDependencyContainer($reset = FALSE) { if ($reset || self::$singleton === NULL) { $c = new self(); self::$singleton = $c->getContainer(); } return self::$singleton; }