From f791e9f7d06eba243b1ad86df50ae965f01aea8f Mon Sep 17 00:00:00 2001 From: KoKsPfLaNzE Date: Sat, 12 Mar 2016 14:01:06 +0100 Subject: [PATCH] fixed view-helper --- src/ZfcBBCode/Module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ZfcBBCode/Module.php b/src/ZfcBBCode/Module.php index 3e7f141..5a24467 100644 --- a/src/ZfcBBCode/Module.php +++ b/src/ZfcBBCode/Module.php @@ -37,7 +37,7 @@ public function getViewHelperConfig() 'factories' => [ 'bbCodeParser' => function (AbstractPluginManager $pluginManager) { /** @var \ZfcBBCode\Service\ParserInterface $bbCodeParser */ - $bbCodeParser = $pluginManager->get('zfc-bbcode_parser'); + $bbCodeParser = $pluginManager->getServiceLocator()->get('zfc-bbcode_parser'); return new View\Helper\BBCodeParser($bbCodeParser); }, ]