Пример #1
0
 /**
  * Set company name in app config.
  *
  * @param string          $directory
  * @param OutputInterface $output
  * 
  * @return $this
  */
 protected function setCompany($directory, $output)
 {
     File::configAppendOnce($directory . '/app/config/app.php', "'company' => 'Laravel Site'");
     $output->writeln('company name set in app config');
     return $this;
 }