| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class BulkWriter implements ShouldQueue |
||
| 13 | { |
||
| 14 | |||
| 15 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; |
||
|
|
|||
| 16 | |||
| 17 | /** |
||
| 18 | * @var Entry |
||
| 19 | */ |
||
| 20 | protected $entry; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array[] |
||
| 24 | */ |
||
| 25 | protected $data; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Create a new job instance. |
||
| 29 | * |
||
| 30 | * @param Entry $entry |
||
| 31 | * @param array[] $data |
||
| 32 | * @return void |
||
| 33 | */ |
||
| 34 | public function __construct(Entry $entry, ?array $data = null) |
||
| 42 | } |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Execute the job. |
||
| 46 | * |
||
| 47 | * @return void |
||
| 48 | */ |
||
| 49 | public function handle(): void |
||
| 61 |