• File: CanBeEscapedWhenCastToString.php
  • Full Path: /var/www/crm_set/application/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
  • Date Modified: 09/21/2026 4:20 AM
  • File size: 329 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php

namespace Illuminate\Contracts\Support;

interface CanBeEscapedWhenCastToString
{
    /**
     * Indicate that the object's string representation should be escaped when __toString is invoked.
     *
     * @param  bool  $escape
     * @return $this
     */
    public function escapeWhenCastingToString($escape = true);
}