Magestead\Installers\Magento2Project::composerInstall PHP Метод

composerInstall() защищенный Метод

protected composerInstall ( $projectPath, Symfony\Component\Console\Output\OutputInterface $output )
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
    protected function composerInstall($projectPath, OutputInterface $output)
    {
        $output->writeln('<info>Installing Magento 2 with Composer</info>');
        $command = 'composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition public';
        new ProcessCommand($command, $projectPath, $output);
        $this->copyAuthFile($projectPath);
        $this->setComposerBinDir($projectPath);
        $this->addPhpSpecPackage($projectPath, $output);
        $this->addBehatPackage($projectPath, $output);
    }