// Is the instance there?
if (is_null(self::$selfInstance)) {
self::$selfInstance = new ApplicationHelper();
- } // END - if
+ }
// Return the instance
return self::$selfInstance;
// Then use it
$response = strtolower($requestInstance->getRequestElement('request'));
$responseType = $response;
- } // END - if
+ }
// ... and a new response object
$responseClass = sprintf('%sResponse', self::convertToClassName($response));
// Set it in request
$requestInstance->setRequestElement('command', $commandName);
- } // END - if
+ }
// Get a controller resolver
$resolverClass = self::convertToClassName($this->getAppShortName() . '_' . $responseType . '_controller_resolver');