blob: 7f1ea19c543657e79ea64025445b09efb1520595 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Queue;
4
5interface 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 *
17 * @return array
18 */
19 public function getQueueableIds();
20
21 /**
22 * Get the relationships of the entities being queued.
23 *
24 * @return array
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}