/** * @ignore */ public function __construct($name, $args) { $this->name = $name; $this->alias = []; $this->args = $args; // parent $this->group = "Available commands"; $check = $args->_checkCmdName($name); if (is_string($check)) { Helper::throwEx($check); } $this->isCommand = true; parent::__construct(); }