TransactionServiceProvider.php 600 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace App\Module\Transaction\Providers;
  3. use App\Module\Transaction\Commands\RechargeStatus50To202Command;
  4. use Illuminate\Support\ServiceProvider;
  5. /**
  6. *
  7. */
  8. class TransactionServiceProvider extends ServiceProvider
  9. {
  10. /**
  11. * 事件到监听器的映射
  12. *
  13. * @var array<class-string, array<int, class-string>>
  14. */
  15. protected $listen = [
  16. ];
  17. /**
  18. * 注册任何事件监听器
  19. */
  20. public function boot(): void
  21. {
  22. $this->commands([
  23. RechargeStatus50To202Command::class
  24. ]);
  25. }
  26. }