QueueableEntity.php 481B

12345678910111213141516171819202122232425262728
  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 relationships for the entity.
  13. *
  14. * @return array
  15. */
  16. public function getQueueableRelations();
  17. /**
  18. * Get the connection of the entity.
  19. *
  20. * @return string|null
  21. */
  22. public function getQueueableConnection();
  23. }