mirror of
https://github.com/KnpLabs/KnpMarkdownBundle.git
synced 2024-05-27 19:12:58 +02:00
Fix README. DI Container does not support ArrayAccess anymore
This commit is contained in:
parent
940814a1d3
commit
53ba26ce64
|
@ -24,7 +24,7 @@ You can also define your own Parser class :
|
|||
## USAGE
|
||||
|
||||
// Use the service
|
||||
$html = $this->container['markdownParser']->transform($text);
|
||||
$html = $this->container->get('markdownParser')->transform($text);
|
||||
|
||||
// Use the helper
|
||||
echo $view['markdown']->transform($text);
|
||||
|
|
Loading…
Reference in a new issue