src/main/php/CommandLine/Factories/ContainerFactory.php
public static function getContainerInstance() : Container
    {
        if (self::$container === null) {
            self::$container = self::getUnboundContainerInstance();
        }

        return self::$container;
    }
public static function getContainerInstance() : Container
    {
        if (self::$container === null) {
            self::$container = self::getUnboundContainerInstance();
        }

        return self::$container;
    }
public static function getContainerInstance ( ) : Container { if ( self :: $ container === null ) { self :: $ container = self :: getUnboundContainerInstance ( ) ; } return self :: $ container ; }
Returns the single application container instance to use.

@return Container

@throws Exception
Returns the single application container instance to use .