CanBeEscapedWhenCastToString
interface CanBeEscapedWhenCastToString (View source)
Methods
$this | escapeWhenCastingToString(bool $escape = true)
Indicate that the object's string representation should be escaped when __toString is invoked. |
Details
$this escapeWhenCastingToString(bool $escape = true)
Indicate that the object's string representation should be escaped when __toString is invoked.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/9.x/Illuminate/Contracts/Support/CanBeEscapedWhenCastToString.html