The class League\CommonMark\Converter has been deprecated with message: This class is deprecated since league/commonmark 1.4, use MarkdownConverter instead.
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be
removed from the class and what other constant to use instead.
Loading history...
16
{
17
/** @var EnvironmentInterface */
18
protected $environment;
19
20
2826
public function __construct(EnvironmentInterface $environment)
21
{
22
2826
$this->environment = $environment;
23
24
2826
parent::__construct(new DocParser($environment), new HtmlRenderer($environment));
25
2826
}
26
27
21
public function getEnvironment(): EnvironmentInterface
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.