/** * @throws InvalidConfigException */ public function init() { parent::init(); if ($this->modelClass === null) { throw new InvalidConfigException('Model class should be set'); } if ($this->type === null) { throw new InvalidConfigException('Auth item type should be set'); } }
/** * @throws InvalidConfigException */ public function init() { parent::init(); if ($this->modelClass === null) { throw new InvalidConfigException('Model class should be set'); } if ($this->formClass === null) { throw new InvalidConfigException('Form class should be set'); } if ($this->searchClass === null) { throw new InvalidConfigException('Search class should be set'); } }