diff --git a/src/Module/Controller/ControllerResolver.php b/src/Module/Controller/ControllerResolver.php index 077faec..1547380 100644 --- a/src/Module/Controller/ControllerResolver.php +++ b/src/Module/Controller/ControllerResolver.php @@ -62,6 +62,7 @@ protected function createController($controller) } elseif (1 == $count) { // controller in the service:method notation list($service, $method) = explode(':', $controller, 2); + return array($this->serviceManager->get($service), $method); } else { if ($this->serviceManager->has($controller) && method_exists($service = $this->serviceManager->get($controller), '__invoke')) {