throw new EmptyVariableException(array($this, 'controllerName'), self::EXCEPTION_UNEXPECTED_EMPTY_STRING);
} // END - if
+ // Create class name
+ $className = $this->controllerPrefix . $this->convertToClassName($controllerName) . 'Controller';
+
// Now, let us create the full name of the controller class
- $this->setClassName(sprintf("%s%sController",
- $this->controllerPrefix,
- $this->convertToClassName($controllerName)
- ));
+ $this->setClassName($className);
// Try it hard to get an controller
while ($isValid === false) {