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

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

protected processVcs ( array $options, $projectPath, Symfony\Component\Console\Output\OutputInterface $output ) : VersionControl | null
$options array
$projectPath
$output Symfony\Component\Console\Output\OutputInterface
Результат Magestead\Service\VersionControl | null
    protected function processVcs(array $options, $projectPath, OutputInterface $output)
    {
        if (!empty($options['repo_url'])) {
            copy($projectPath . "/puphpet/magestead/magento2/stubs/gitignore.tmp", $projectPath . "/.gitignore");
            return new VersionControl($options['repo_url'], $projectPath, $output);
        }
    }