Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Queue; |
| 4 | |
| 5 | interface QueueableCollection |
| 6 | { |
| 7 | /** |
| 8 | * Get the type of the entities being queued. |
| 9 | * |
| 10 | * @return string|null |
| 11 | */ |
| 12 | public function getQueueableClass(); |
| 13 | |
| 14 | /** |
| 15 | * Get the identifiers for all of the entities. |
| 16 | * |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 17 | * @return array<int, mixed> |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 18 | */ |
| 19 | public function getQueueableIds(); |
| 20 | |
| 21 | /** |
| 22 | * Get the relationships of the entities being queued. |
| 23 | * |
Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 24 | * @return array<int, string> |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 25 | */ |
| 26 | public function getQueueableRelations(); |
| 27 | |
| 28 | /** |
| 29 | * Get the connection of the entities being queued. |
| 30 | * |
| 31 | * @return string|null |
| 32 | */ |
| 33 | public function getQueueableConnection(); |
| 34 | } |