/**
* Last successfull resolved controller (instance)
*/
- private $lastControllerInstance = null;
+ private $lastControllerInstance = NULL;
/**
* Protected constructor
* Creates an instance of a resolver class with a given command
*
* @param $controllerName The controller we shall resolve
- * @param $appInstance An instance of a manageable application helper class
+ * @param $applicationInstance An instance of a manageable application helper class
* @return $resolverInstance The prepared controller resolver instance
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidControllerException Thrown if default controller is invalid
*/
- public static final function createImageControllerResolver ($controllerName, ManageableApplication $appInstance) {
+ public static final function createImageControllerResolver ($controllerName, ManageableApplication $applicationInstance) {
// Create the new instance
$resolverInstance = new ImageControllerResolver();
}
// Set the application instance
- $resolverInstance->setApplicationInstance($appInstance);
+ $resolverInstance->setApplicationInstance($applicationInstance);
// Set command name
$resolverInstance->setControllerName($controllerName);
public function resolveController () {
// Init variables
$controllerName = '';
- $controllerInstance = null;
+ $controllerInstance = NULL;
// Get the command name
$controllerName = $this->getControllerName();