public function dispatch(RequestFactoryInterface $requestFactory)
 {
     $uri = $requestFactory->get()->toArray();
     $helper = DispatcherHelper::getHelper($uri);
     $builtRequest = $this->getBuilder()->controller($helper->getController())->action($helper->getAction())->parameters($helper->getParameters())->build();
     $controllerInstance = ClassUtils::load($builtRequest->controller, array($requestFactory->get()));
     return $this->invoke($controllerInstance, $builtRequest->action, $builtRequest->parameters);
 }
 public static function getParameterFinder(RequestFactoryInterface $requestFactory)
 {
     return new ParameterFinder($requestFactory->get());
 }