StringRepresentation
interface StringRepresentation (View source)
A class implementing StringRepresentation provides a string representation of a class instance
This interface is a syntaxic sugar to indicates the object redefines the __toString() magic method.
This interface is obsolet in PHP 8 which introduces the implicit Stringable interface.
Methods
string
__toString()
No description