public function getAttribute($attributeName) { return $this->attributes->getStructAttributeByName($attributeName); }