blob: 6f3ba0025d778773ab375039435c10b370b2c58d [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001<?php
2
3namespace Tightenco\Collect\Contracts\Support;
4
5interface 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}