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;
101 if ( $this->key ===
'$1' ) {
105 if ( !$this->parameters ) {
110 return [ $this->
plain() ];
116class_alias( RawMessage::class,
'RawMessage' );
array $params
The job parameters.