$this->setResponseInstance($responseInstance);
// Get the parameter from the request
- $commandName = $requestInstance->getRequestElement("page");
+ $commandName = $requestInstance->getRequestElement('page');
// If it is null then get default command
if (is_null($commandName)) {
$resolverInstance = WebControllerResolver::createWebControllerResolver($commandName, $this);
// Get a controller instance as well
- $this->controllerInstance = $resolverInstance->resolveCommandController();
+ $this->controllerInstance = $resolverInstance->resolveController();
// Handle the request
$this->controllerInstance->handleRequest($requestInstance, $responseInstance);