| 1 |
<?php |
| 2 |
|
| 3 |
namespace FluentBooking\Framework\Support; |
| 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 |
* |
| 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 |
} |
| 35 |
|