public static function getContainer()
    {
        if (!self::$container) {
            self::$container = new ServiceContainer();
            self::provideServices();
        }
        return self::$container;
    }
public static function getContainer()
    {
        if (!self::$container) {
            self::$container = new ServiceContainer();
            self::provideServices();
        }
        return self::$container;
    }
public static function getContainer ( ) { if ( ! self :: $ container ) { self :: $ container = new ServiceContainer ( ) ; self :: provideServices ( ) ; } return self :: $ container ; }
Returns service container used with presentation framework.

@return ServiceContainer
Returns service container used with presentation framework .