Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class FakerGenerator implements GeneratorInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var Generator|DefaultGenerator |
||
17 | */ |
||
18 | private $generator; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | private $formatter; |
||
24 | |||
25 | /** |
||
26 | * @var array |
||
27 | */ |
||
28 | private $arguments; |
||
29 | |||
30 | /** |
||
31 | * @var array |
||
32 | */ |
||
33 | private $config; |
||
34 | |||
35 | /** |
||
36 | * @param Generator|DefaultGenerator $generator |
||
37 | * @param string $formatter |
||
38 | * @param array $arguments |
||
39 | * @param array $config |
||
40 | */ |
||
41 | public function __construct($generator, string $formatter, array $arguments = [], array $config = []) |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * {@inheritdoc} |
||
51 | */ |
||
52 | public function generate() |
||
64 |