src/main/php/CommandLine/Factories/ContainerFactory.php
public static function getUnboundContainerInstance() : Container
    {
        $builder = new ContainerBuilder();
        $builder->useAnnotations(true);
        $builder->useAutowiring(true);
        $builder->addDefinitions(__DIR__ . '/../../../../config/phpdi/phpdi.php');
        return $builder->build();
    }
public static function getUnboundContainerInstance() : Container
    {
        $builder = new ContainerBuilder();
        $builder->useAnnotations(true);
        $builder->useAutowiring(true);
        $builder->addDefinitions(__DIR__ . '/../../../../config/phpdi/phpdi.php');
        return $builder->build();
    }
public static function getUnboundContainerInstance ( ) : Container { $ builder = new ContainerBuilder ( ) ; $ builder -> useAnnotations ( true ) ; $ builder -> useAutowiring ( true ) ; $ builder -> addDefinitions ( __DIR__ . '/../../../../config/phpdi/phpdi.php' ) ; return $ builder -> build ( ) ; }
Returns an unbound Container which is configured like the application container. This is meant to be used for
functional tests only.

@return Container
@throws Exception
Returns an unbound Container which is configured like the application container . This is meant to be used for functional tests only .