123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- /**
- * This file is part of amfPHP
- *
- * LICENSE
- *
- * This source file is subject to the license that is bundled
- * with this package in the file license.txt.
- */
- /**
- * Amfphp_Core_Amf_Header is a data type that represents a single header passed via Amf
- *
- * @package Amfphp_Core_Amf
- */
- class Amfphp_Core_Amf_Header {
- /**
- * Name is the string name of the header key
- *
- * @var string
- */
- public $name;
- /**
- * Required is a boolean determining whether the remote system
- * must understand this header in order to operate. If the system
- * does not understand the header then it should not execute the
- * method call.
- *
- * @var boolean
- */
- public $required;
- /**
- * data is the actual object data of the header key
- *
- * @var mixed
- */
- public $data;
- /**
- * Amfphp_Core_Amf_Header is the Constructor function for the Amfphp_Core_Amf_Header data type.
- * @param string $name
- * @param boolean $required
- * @param mixed $data
- */
- public function __construct($name = '', $required = false, $data = null) {
- $this->name = $name;
- $this->required = $required;
- $this->data = $data;
- }
- }
- ?>
|