コード例 #1
0
ファイル: _ide_helper.php プロジェクト: nmkr/basic-starter
 /**
  * Set the output implementation.
  *
  * @param \Symfony\Component\Console\Output\OutputInterface $output
  * @return void 
  * @static 
  */
 public static function setOutput($output)
 {
     \Illuminate\Remote\Connection::setOutput($output);
 }
コード例 #2
0
ファイル: RemoteManager.php プロジェクト: mawaha/tracker
 /**
  * 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);
 }