| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | final class FrontMatterExtension implements ExtensionInterface |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * @var FrontMatterParserInterface |
||
| 29 | * |
||
| 30 | * @psalm-readonly |
||
| 31 | */ |
||
| 32 | private $frontMatterParser; |
||
| 33 | |||
| 34 | 9 | public function __construct(?FrontMatterDataParserInterface $dataParser = null) |
|
| 37 | 9 | } |
|
| 38 | |||
| 39 | public function getFrontMatterParser(): FrontMatterParserInterface |
||
| 40 | { |
||
| 41 | return $this->frontMatterParser; |
||
| 42 | } |
||
| 43 | |||
| 44 | 9 | public function register(ConfigurableEnvironmentInterface $environment): void |
|
| 48 | 9 | } |
|
| 49 | } |
||
| 50 |