| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class Markdown implements ParserInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var mixed the configuration |
||
| 22 | */ |
||
| 23 | private $config; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * the constructor |
||
| 27 | * |
||
| 28 | * @param array $config |
||
| 29 | */ |
||
| 30 | 34 | public function __construct(array $config = []) |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * overload parse with the MarkdownExtra parser |
||
| 37 | * |
||
| 38 | * @param string $data |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | 7 | public function parse($data) |
|
| 52 |