interface Illuminate / Contracts / Support / CanBeEscapedWhenCastToString

CanBeEscapedWhenCastToString

Methods

public

escapeWhenCastingToString ( $escape ) : $this

Indicate that the object's string representation should be escaped when __toString is invoked.

Parameters

  • $escape bool