console.php 529 B

1234567891011121314
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 控制台配置
  4. // +----------------------------------------------------------------------
  5. return [
  6. // 指令定义
  7. 'commands' => [
  8. 'queue:work' => think\queue\command\Work::class,
  9. 'queue:listen' => think\queue\command\Listen::class,
  10. 'queue:Restart' => think\queue\command\Restart::class,
  11. 'task' => task\command\Task::class,
  12. 'worker:gateway' => app\worker\command\GatewayWorker::class
  13. ],
  14. ];