| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | final class GeneratorConfig implements ConfigInterface |
||
| 20 | { |
||
| 21 | /** @var array */ |
||
| 22 | private $sectionGeneratorConfig; |
||
| 23 | |||
| 24 | private function __construct(array $sectionGeneratorConfig) |
||
| 29 | } |
||
| 30 | |||
| 31 | public function toArray(): array |
||
| 32 | { |
||
| 33 | return $this->sectionGeneratorConfig; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function __toString(): string |
||
| 39 | } |
||
| 40 | |||
| 41 | public static function fromArray(array $sectionGeneratorConfig): self |
||
| 44 | } |
||
| 45 | } |
||
| 46 |