mirror of
https://github.com/yiisoft/yii2.git
synced 2025-08-26 06:15:19 +08:00
Method 'MessageInterface::__toString()' added
This commit is contained in:
@ -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();
|
||||
}
|
Reference in New Issue
Block a user