getQuery($this->name)->$name(...$arguments); } else { return $this->get(); } } /** * @param $name * @return mixed */ public function __get($name): mixed { if ($this->data === null) { $this->data = $this->get(); } return $this->data; } }