public static function getContainer($zendServiceManager = null)
    {
        if (!self::$container) {
            self::$container = new SymfonyContainerWithZFFallback();
        }

        if (!Module::$zendServiceManager && $zendServiceManager) {
            if ($zendServiceManager->has('serviceLocator')) {
                $zendServiceManager = $zendServiceManager->get('serviceLocator');
            }
            Module::$zendServiceManager = $zendServiceManager;
        }

        return self::$container;
    }