1 | <?php |
||
14 | class RoutineTrackingUserDeviseJob implements ShouldQueue |
||
15 | { |
||
16 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
17 | |||
18 | protected $customer, $trackingType, $trackingData, $timestamp, $íp; |
||
19 | |||
20 | /** |
||
21 | * Create a new job instance. |
||
22 | * |
||
23 | * @return void |
||
|
|||
24 | */ |
||
25 | public function __construct(Customer $customer, $trackingType, $trackingData, $timestamp = false, $ip = false) |
||
35 | |||
36 | /** |
||
37 | * Execute the job. |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | public function handle() |
||
52 | } |
||
53 |
Adding a
@return
annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.Please refer to the PHP core documentation on constructors.