Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class IpAddressFakerData implements FakerDataProviderInterface |
||
9 | { |
||
10 | private const FAKER_IP_ADDRESS_FORMATTERS = [ |
||
11 | 'ipv4', |
||
12 | 'ipv6', |
||
13 | 'localIpv4', |
||
14 | ]; |
||
15 | /** |
||
16 | * @var Generator |
||
17 | */ |
||
18 | protected $generator; |
||
19 | |||
20 | public function __construct(Generator $generator) |
||
23 | } |
||
24 | |||
25 | public function __invoke(): string |
||
32 |