23use InvalidArgumentException;
55 if ( !is_string( $text ) ) {
56 throw new InvalidArgumentException(
'$text must be a string' );
59 parent::__construct( $text, $params );
62 $this->message = $text;
79class_alias( RawMessage::class,
'RawMessage' );
The Message class deals with fetching and processing of interface message into a variety of formats.
string null false $message
string $key
The message key.