Composer\Satis\Console\Command\BuildCommand::getConfiguration PHP Метод

getConfiguration() приватный Метод

private getConfiguration ( ) : Composer\Config
Результат Composer\Config
    private function getConfiguration()
    {
        $config = new Config();
        // add dir to the config
        $config->merge(['config' => ['home' => $this->getComposerHome()]]);
        // load global auth file
        $file = new JsonFile($config->get('home') . '/auth.json');
        if ($file->exists()) {
            $config->merge(['config' => $file->read()]);
        }
        $config->setAuthConfigSource(new JsonConfigSource($file, true));
        return $config;
    }