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