20220717
This commit is contained in:
14
vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
vendored
Normal file
14
vendor/illuminate/contracts/Support/CanBeEscapedWhenCastToString.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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);
|
||||
}
|
Reference in New Issue
Block a user