1 | <?php |
||
11 | class QueuedService implements ShouldQueue |
||
12 | { |
||
13 | use Queueable, SerializesModels, InteractsWithQueue, Dispatchable; |
||
14 | |||
15 | /** @var string */ |
||
16 | protected $serviceClass; |
||
17 | |||
18 | /** @var array */ |
||
19 | protected $parameters; |
||
20 | |||
21 | /** |
||
22 | * Construct a new QueuedService. |
||
23 | * |
||
24 | * @param mixed $service |
||
25 | * @param array $parameters |
||
26 | */ |
||
27 | public function __construct($service, array $parameters) |
||
33 | |||
34 | /** |
||
35 | * Get the display name for the class. |
||
36 | * |
||
37 | * @return string |
||
38 | */ |
||
39 | public function displayName() |
||
43 | |||
44 | /** |
||
45 | * Handle the QueuedService. |
||
46 | */ |
||
47 | public function handle() |
||
54 | |||
55 | /** |
||
56 | * The tags for identifying the queued service. |
||
57 | * |
||
58 | * @return array |
||
59 | */ |
||
60 | public function tags() |
||
64 | |||
65 | /** |
||
66 | * Resolve the queable properties. |
||
67 | * |
||
68 | * @param mixed $service |
||
69 | */ |
||
70 | protected function resolveQueueableProperties($service) |
||
85 | } |
||
86 |