QueueableEntity.php 346 B

1234567891011121314151617181920
  1. <?php
  2. namespace Illuminate\Contracts\Queue;
  3. interface QueueableEntity
  4. {
  5. /**
  6. * Get the queueable identity for the entity.
  7. *
  8. * @return mixed
  9. */
  10. public function getQueueableId();
  11. /**
  12. * Get the connection of the entity.
  13. *
  14. * @return string|null
  15. */
  16. public function getQueueableConnection();
  17. }