Exemple #1
0
 /**
  * Set the output implementation.
  *
  * @param \Symfony\Component\Console\Output\OutputInterface $output
  * @return void 
  * @static 
  */
 public static function setOutput($output)
 {
     \Illuminate\Remote\Connection::setOutput($output);
 }
Exemple #2
0
 /**
  * Set the output implementation on the connection.
  *
  * @param  \Illuminate\Remote\Connection  $connection
  * @return void
  */
 protected function setOutput(Connection $connection)
 {
     $output = php_sapi_name() == 'cli' ? new ConsoleOutput() : new NullOutput();
     $connection->setOutput($output);
 }