_relation->getQuery($this->model::className())->$name(...$arguments); return $this; } /** * @return array|null|ActiveRecord * @throws Exception */ public function get(): array|ActiveRecord|null { return $this->_relation->first($this->model::className(), $this->value); } }