HighSpeaker/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php

15 lines
329 B
PHP
Raw Permalink Normal View History

2022-12-24 22:10:40 +08:00
<?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);
}