interface CanBeEscapedWhenCastToString (View source)
| $this | escapeWhenCastingToString(bool $escape = true)
Indicate that the object's string representation should be escaped when __toString is invoked. |
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/11.x/Illuminate/Contracts/Support/CanBeEscapedWhenCastToString.html