CanBeEscapedWhenCastToString.php 329 B

1234567891011121314
  1. <?php
  2. namespace Illuminate\Contracts\Support;
  3. interface CanBeEscapedWhenCastToString
  4. {
  5. /**
  6. * Indicate that the object's string representation should be escaped when __toString is invoked.
  7. *
  8. * @param bool $escape
  9. * @return $this
  10. */
  11. public function escapeWhenCastingToString($escape = true);
  12. }