src/Conpago/AppBuilderFactory.php
public function createAppBuilderFromPersisted(IContainerBuilderPersister $persister, $contextName, $appRootPath)
    {
        $fileSystem       = new FileSystem();
        $appPath          = new AppPath($fileSystem, $appRootPath);
        $containerBuilder = $persister->loadContainerBuilder();

        return new AppBuilder($fileSystem, $appPath, $containerBuilder, $contextName);
    }
public function createAppBuilderFromPersisted(IContainerBuilderPersister $persister, $contextName, $appRootPath)
    {
        $fileSystem       = new FileSystem();
        $appPath          = new AppPath($fileSystem, $appRootPath);
        $containerBuilder = $persister->loadContainerBuilder();

        return new AppBuilder($fileSystem, $appPath, $containerBuilder, $contextName);
    }
Creates AppBuilder from loaded persisted container.

@param IContainerBuilderPersister $persister   Container persister used to load persisted container.
@param string                     $contextName Name of context. Passed to AbbBuilder instance.
@param string                     $appRootPath Base path of source files. Passed to AppPath class for instance.

@return AppBuilder Builder of application.