public function toArray()
    {
        return [
            'level' => $this->level,
            'subject' => $this->subject,
            'greeting' => $this->greeting,
            'salutation' => $this->salutation,
            'introLines' => $this->introLines,
            'outroLines' => $this->outroLines,
            'actionText' => $this->actionText,
            'actionUrl' => $this->actionUrl,
        ];
    }
public function toArray()
    {
        return [
            'level' => $this->level,
            'subject' => $this->subject,
            'greeting' => $this->greeting,
            'salutation' => $this->salutation,
            'introLines' => $this->introLines,
            'outroLines' => $this->outroLines,
            'actionText' => $this->actionText,
            'actionUrl' => $this->actionUrl,
        ];
    }
public function toArray ( ) { return [ 'level' => $ this -> level , 'subject' => $ this -> subject , 'greeting' => $ this -> greeting , 'salutation' => $ this -> salutation , 'introLines' => $ this -> introLines , 'outroLines' => $ this -> outroLines , 'actionText' => $ this -> actionText , 'actionUrl' => $ this -> actionUrl , ] ; }
Get an array representation of the message.

@return array
Get an array representation of the message .