Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
SAMMessage->__construct()

SAMMessage->__construct()

(no version information, might be only in CVS)

SAMMessage->__construct() --  Creates a new Message object

Description

class SAMMessage {

__construct ( [mixed body] )

}

Creates a new SAMMessage object optionally specifying a message body.

Parameters

body

The optional body for the message.

Examples

Example 1. Creating a message

<?php

$msg = new SAMMessage();

?>

Example 2. Creating a message with a simple text payload

<?php

$msg = new SAMMessage('This is a simple text message');

?>