Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | final class FindByAddressRequest implements Arrayable |
||
19 | { |
||
20 | /** @var array */ |
||
21 | private $data; |
||
22 | |||
23 | public static function create(string $address, int $take = 3): self |
||
24 | { |
||
25 | return new self(...\func_get_args()); |
||
|
|||
26 | } |
||
27 | |||
28 | public function __construct(string $address, int $take = 3) |
||
33 | ]; |
||
34 | } |
||
35 | |||
36 | public function toArray(): array |
||
39 | } |
||
40 | } |
||
41 |