JonathanTorres\Construct\Settings::withGitInit PHP Метод

withGitInit() публичный Метод

Whether or not to initialize a git repo on the project.
public withGitInit ( ) : boolean
Результат boolean
    public function withGitInit()
    {
        return $this->gitInit;
    }

Usage Example

Пример #1
0
 /**
  * Show message if an empty git repo is initialized.
  *
  * @param \Symfony\Component\Console\Output\OutputInterface $output
  *
  * @return void
  */
 private function initializedGitMessage($output)
 {
     if ($this->settings->withGitInit()) {
         $folder = $this->construct->getprojectLower();
         $output->writeln('<info>Initialized git repo in "' . $folder . '".</info>');
     }
 }
All Usage Examples Of JonathanTorres\Construct\Settings::withGitInit