ContainerBridge.php
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;
    }
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;
    }
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 ; }
Returns the Symfony Container

@param ServiceLocatorInterface $zendServiceManager
@return ContainerInterface
Returns the Symfony Container