*/ public $headers; /** * The place to keep the Message elements * * @var */ public $messages; /** * either 0 or 3. This is stored here when deserializing, because the serializer needs the info * @var */ public $amfVersion; /** * The constructor function for a new Amf object. * * All the constructor does is initialize the headers and Messages containers */ public function __construct() { $this->headers = array(); $this->messages = array(); $this->amfVersion = Amfphp_Core_Amf_Constants::AMF0_ENCODING; } } ?>