Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class JsonFeedPull implements PullProcessor |
||
9 | { |
||
10 | use HasPendingRequest; |
||
11 | |||
12 | 1 | public function __construct( |
|
13 | protected string $url, |
||
14 | protected ?string $listingKey = null, |
||
15 | array $args = [], |
||
16 | ) { |
||
17 | 1 | $this->args = collect($args); |
|
18 | 1 | } |
|
19 | |||
20 | |||
21 | 1 | public function pull(): Collection |
|
28 | } |
||
29 | } |
||
30 |