Method 'MessageInterface::__toString()' added

This commit is contained in:
Paul Klimov
2013-10-25 16:58:30 +03:00
parent 4a9d546c79
commit d33519e3e5
3 changed files with 60 additions and 0 deletions

View File

@ -113,4 +113,11 @@ interface MessageInterface
* @return string string the rendering result
*/
public function render($view, $params = []);
/**
* String output.
* This is PHP magic method that returns string representation of an object.
* @return string the string representation of the object
*/
public function __toString();
}