Method | Description | |
---|---|---|
__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 |
Method | Description | |
---|---|---|
interpolateString ( string $message, array $replacements ) : string | Replace the variables into the message string. |
public getRawMessage ( ) : string | ||
return | string | $this->replacements |
public getReplacements ( ) : array | ||
return | array | $this->replacements The replacement variables. |