| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 71.43% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | final class FrontMatterExtension implements ExtensionInterface |
||
| 26 | { |
||
| 27 | /** @psalm-readonly */ |
||
| 28 | private FrontMatterParserInterface $frontMatterParser; |
||
| 29 | |||
| 30 | 12 | public function __construct(?FrontMatterDataParserInterface $dataParser = null) |
|
| 33 | } |
||
| 34 | |||
| 35 | public function getFrontMatterParser(): FrontMatterParserInterface |
||
| 36 | { |
||
| 37 | return $this->frontMatterParser; |
||
| 38 | } |
||
| 39 | |||
| 40 | 12 | public function register(EnvironmentBuilderInterface $environment): void |
|
| 44 | } |
||
| 45 | } |
||
| 46 |