JobProcessed.php 589B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Illuminate\Queue\Events;
  3. class JobProcessed
  4. {
  5. /**
  6. * The connection name.
  7. *
  8. * @var string
  9. */
  10. public $connectionName;
  11. /**
  12. * The job instance.
  13. *
  14. * @var \Illuminate\Contracts\Queue\Job
  15. */
  16. public $job;
  17. /**
  18. * Create a new event instance.
  19. *
  20. * @param string $connectionName
  21. * @param \Illuminate\Contracts\Queue\Job $job
  22. * @return void
  23. */
  24. public function __construct($connectionName, $job)
  25. {
  26. $this->job = $job;
  27. $this->connectionName = $connectionName;
  28. }
  29. }