blob: 6f3ba0025d778773ab375039435c10b370b2c58d [file] [log] [blame]
<?php
namespace Tightenco\Collect\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);
}