Метод | Описание | |
---|---|---|
__construct ( string $message = null, array $replacements = [], integer $code ) | Object constructor. Sets context array as replacements property | |
getRawMessage ( ) : string | Returns the replacements context array | |
getReplacements ( ) : array | Returns the replacements context array |
Метод | Описание | |
---|---|---|
interpolateString ( string $message, array $replacements ) : string | Replace the variables into the message string. |
public getRawMessage ( ) : string | ||
Результат | string | $this->replacements |
public getReplacements ( ) : array | ||
Результат | array | $this->replacements The replacement variables. |