Matthias Andreas Benkard | 1ba5381 | 2022-12-27 17:32:58 +0100 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace Illuminate\Contracts\Support; | ||||
4 | |||||
5 | interface CanBeEscapedWhenCastToString | ||||
6 | { | ||||
7 | /** | ||||
8 | * Indicate that the object's string representation should be escaped when __toString is invoked. | ||||
9 | * | ||||
10 | * @param bool $escape | ||||
11 | * @return $this | ||||
12 | */ | ||||
13 | public function escapeWhenCastingToString($escape = true); | ||||
14 | } |