Total Complexity | 2 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class DeleteRows implements ShouldQueue |
||
13 | { |
||
14 | use Dispatchable, Queueable; |
||
15 | |||
16 | private array $data; |
||
17 | private string $apiKey; |
||
18 | private string $baseId; |
||
19 | private string $tableName; |
||
20 | /** |
||
21 | * @var Collection |
||
22 | */ |
||
23 | private Collection $creatingItems; |
||
24 | |||
25 | /** |
||
26 | * CreateRows constructor. |
||
27 | * @param array $data |
||
28 | * @param string $apiKey |
||
29 | * @param string $baseId |
||
30 | * @param string $tableName |
||
31 | * @param Collection|FormattedItem[] $creatingItems |
||
32 | */ |
||
33 | 2 | public function __construct(array $data, string $apiKey, string $baseId, string $tableName) |
|
34 | { |
||
35 | 2 | $this->data = $data; |
|
36 | 2 | $this->apiKey = $apiKey; |
|
37 | 2 | $this->baseId = $baseId; |
|
38 | 2 | $this->tableName = $tableName; |
|
39 | 2 | } |
|
40 | |||
41 | 1 | public function handle(Client $client) |
|
49 | ] |
||
50 | ] |
||
54 | } |