| 1 | <?php |
||
| 20 | class CommonMarkConverter extends Converter |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * The currently-installed version. |
||
| 24 | * |
||
| 25 | * This might be a typical `x.y.z` version, or `x.y-dev`. |
||
| 26 | */ |
||
| 27 | const VERSION = '0.19-dev'; |
||
| 28 | |||
| 29 | /** @var EnvironmentInterface */ |
||
| 30 | protected $environment; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a new commonmark converter instance. |
||
| 34 | * |
||
| 35 | * @param array $config |
||
| 36 | * @param EnvironmentInterface|null $environment |
||
| 37 | */ |
||
| 38 | 2037 | public function __construct(array $config = [], EnvironmentInterface $environment = null) |
|
| 52 | |||
| 53 | /** |
||
| 54 | * @return EnvironmentInterface |
||
| 55 | */ |
||
| 56 | 9 | public function getEnvironment(): EnvironmentInterface |
|
| 60 | } |
||
| 61 |