blob: 366f0c84fab6c620e2b46c1b3428f38a7b5ee992 [file] [log] [blame]
Matthias Andreas Benkard7b2a3a12021-08-16 10:57:25 +02001<?php
2
3namespace Illuminate\Contracts\Queue;
4
5interface 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}