interface
Illuminate
/
Contracts
/
Support
/
CanBeEscapedWhenCastToString
You are viewing an older version of the documentation. For the latest, please visit master documentation.
CanBeEscapedWhenCastToString
Methods
public
escapeWhenCastingToString ( $escape ) : $this
Indicate that the object's string representation should be escaped when __toString is invoked.
Parameters
- $escape bool