/** * Returns a singleton of the DependencyContainer. * * @return Swift_DependencyContainer */ public static function getInstance() { if (!isset(self::$instance)) { self::$instance = new self(); } return self::$instance; }