protected function manageClass($action, $class) { $commandClass = $this->getCommandClass("class." . $action); $this->command = new $commandClass($class); return $this->command; }