__toString(); } throw new InvalidArgumentException('Model attribute value is an object but does not have a __toString method.'); } return $attribute; } }