Framework/Composer/ComposerFactory.php
function create()
    {
        if (!getenv('COMPOSER_HOME')) {
            putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
        }
        return \Composer\Factory::create(
            new BufferIO(),
            $this->composerJsonFinder->findComposerJson()
        );
    }
function create()
    {
        if (!getenv('COMPOSER_HOME')) {
            putenv('COMPOSER_HOME=' . $this->directoryList->getPath(DirectoryList::COMPOSER_HOME));
        }
        return \Composer\Factory::create(
            new BufferIO(),
            $this->composerJsonFinder->findComposerJson()
        );
    }
function create ( ) { if ( ! getenv ( 'COMPOSER_HOME' ) ) { putenv ( 'COMPOSER_HOME=' . $ this -> directoryList -> getPath ( DirectoryList :: COMPOSER_HOME ) ) ; } return \ Composer \ Factory :: create ( new BufferIO ( ) , $ this -> composerJsonFinder -> findComposerJson ( ) ) ; }
Create \Composer\Composer

@return \Composer\Composer
@throws \Exception
Create \ Composer \ Composer