コード例 #1
0
 /**
  * Get the console command arguments.
  *
  * @return array
  */
 protected function getArguments()
 {
     return [['connection', InputArgument::OPTIONAL, 'The name of connection', $this->queueManager->getDefaultDriver()]];
 }
コード例 #2
0
ファイル: _ide_helper.php プロジェクト: satriashp/tour
 /**
  * Get the name of the default queue connection.
  *
  * @return string 
  * @static 
  */
 public static function getDefaultDriver()
 {
     return \Illuminate\Queue\QueueManager::getDefaultDriver();
 }
コード例 #3
0
 public function getConnectionName($connection = null)
 {
     return $connection !== null ? $connection : $this->queueManager->getDefaultDriver();
 }