| Total Complexity | 8 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | class Converter implements ConverterInterface |
||
| 22 | { |
||
| 23 | /** @var Builder */ |
||
| 24 | protected $builder; |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param Builder $builder |
||
| 28 | */ |
||
| 29 | public function __construct(Builder $builder) |
||
| 30 | { |
||
| 31 | $this->builder = $builder; |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * {@inheritdoc} |
||
| 36 | */ |
||
| 37 | public function convertFrontmatter(string $string, string $type = 'yaml'): array |
||
| 58 | } |
||
| 59 | } |
||
| 60 | } |
||
| 61 | |||
| 62 | /** |
||
| 63 | * {@inheritdoc} |
||
| 64 | */ |
||
| 65 | public function convertBody(string $string): string |
||
| 70 | } |
||
| 71 | } |
||
| 72 |