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;
82class_alias( RawMessage::class,
'RawMessage' );
array $params
The job parameters.