| 1 | <?php |
||
| 12 | class RemoveModelFromLanguageModelMap implements ShouldQueue |
||
| 13 | { |
||
| 14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
| 15 | |||
| 16 | /** @var Model */ |
||
| 17 | protected $model; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Create a new job instance. |
||
| 21 | * |
||
| 22 | * @return void |
||
|
|
|||
| 23 | */ |
||
| 24 | public function __construct(Model $model) |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Execute the job. |
||
| 31 | * |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function handle() |
||
| 38 | } |
||
| 39 |
Adding a
@returnannotation 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.