$responseType = $this->getResponseTypeFromSystem();
// Create a new request object
- $requestInstance = ObjectFactory::createObjectByName($this->convertToClassName($response) . 'Request');
+ $requestInstance = ObjectFactory::createObjectByName(self::convertToClassName($response) . 'Request');
// Remember request instance here
$this->setRequestInstance($requestInstance);
} // END - if
// ... and a new response object
- $responseClass = sprintf("%sResponse", $this->convertToClassName($response));
+ $responseClass = sprintf('%sResponse', self::convertToClassName($response));
$responseInstance = ObjectFactory::createObjectByName($responseClass, array($this));
// Remember response instance here
} // END - if
// Get a controller resolver
- $resolverClass = $this->convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
+ $resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');
$resolverInstance = ObjectFactory::createObjectByName($resolverClass, array($commandName, $this));
// Get a controller instance as well