QueueableCollection.php 659B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace Illuminate\Contracts\Queue;
  3. interface QueueableCollection
  4. {
  5. /**
  6. * Get the type of the entities being queued.
  7. *
  8. * @return string|null
  9. */
  10. public function getQueueableClass();
  11. /**
  12. * Get the identifiers for all of the entities.
  13. *
  14. * @return array
  15. */
  16. public function getQueueableIds();
  17. /**
  18. * Get the relationships of the entities being queued.
  19. *
  20. * @return array
  21. */
  22. public function getQueueableRelations();
  23. /**
  24. * Get the connection of the entities being queued.
  25. *
  26. * @return string|null
  27. */
  28. public function getQueueableConnection();
  29. }