Total Complexity | 3 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
23 | abstract class AbstractGenerator implements GeneratorInterface |
||
24 | { |
||
25 | /** @var Builder */ |
||
26 | protected $builder; |
||
27 | |||
28 | /** @var \Cecil\Config */ |
||
29 | protected $config; |
||
30 | |||
31 | /** @var PagesCollection */ |
||
32 | protected $generatedPages; |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 1 | public function __construct(Builder $builder) |
|
43 | } |
||
44 | |||
45 | /** |
||
46 | * Run the `generate` method of the generator and returns pages. |
||
47 | */ |
||
48 | 1 | public function runGenerate(): PagesCollection |
|
62 |