code: public function validateModelClass()
      {
          if ($this->isReservedKeyword($this->modelClass)) {
              $this->addError('modelClass', 'Class name cannot be a reserved PHP keyword.');
          }
          if (strpos($this->tableName, '*') === false && $this->modelClass == '') {
              $this->addError('modelClass', 'Model Class cannot be blank.');
          }
      }
docs: Validates the [[modelClass]] attribute.