spqr/vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
2024-11-05 12:10:06 +08:00

15 lines
329 B
PHP

<?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);
}