public function __get(string $property) { throw new \Error($this->generateStructPropertyError($property)); }