private function type($message, $type)
    {
        $this->type = $type;

        $this->message = $message;

        return $this;
    }
private function type($message, $type)
    {
        $this->type = $type;

        $this->message = $message;

        return $this;
    }
private function type ( $ message , $ type ) { $ this -> type = $ type ; $ this -> message = $ message ; return $ this ; }
Add message body and set message type

@param string $message
@param string $type
@return Message
Add message body and set message type