collect($this->values->first()), default => parent::__get($key), }; } public function render(bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE): View { // @note Internal attributes cannot be edited return view('components.attribute.internal') ->with('o',$this); } }