Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Queue; |
| 4 | |
| 5 | interface QueueableEntity |
| 6 | { |
| 7 | /** |
| 8 | * Get the queueable identity for the entity. |
| 9 | * |
| 10 | * @return mixed |
| 11 | */ |
| 12 | public function getQueueableId(); |
| 13 | |
| 14 | /** |
| 15 | * Get the relationships for the entity. |
| 16 | * |
| 17 | * @return array |
| 18 | */ |
| 19 | public function getQueueableRelations(); |
| 20 | |
| 21 | /** |
| 22 | * Get the connection of the entity. |
| 23 | * |
| 24 | * @return string|null |
| 25 | */ |
| 26 | public function getQueueableConnection(); |
| 27 | } |