Fix README. DI Container does not support ArrayAccess anymore

This commit is contained in:
Jérôme Tamarelle 2011-04-04 23:58:10 +02:00
parent 940814a1d3
commit 53ba26ce64

View file

@ -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);