| 1 | <?php |
||
| 8 | class Header implements \JsonSerializable |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var PropertyList |
||
| 12 | */ |
||
| 13 | protected $propertyList; |
||
| 14 | |||
| 15 | public function __construct() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param HeaderParameter\ParameterInterface $parameter |
||
| 22 | * @param boolean $critical |
||
| 23 | */ |
||
| 24 | public function setParameter(HeaderParameter\ParameterInterface $parameter, $critical = false) |
||
| 40 | |||
| 41 | /** |
||
| 42 | * @param string $name |
||
| 43 | * @return HeaderParameter\ParameterInterface|null |
||
| 44 | */ |
||
| 45 | public function findParameterByName($name) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return PropertyList |
||
| 59 | */ |
||
| 60 | public function getParameters() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return string |
||
| 67 | */ |
||
| 68 | public function jsonSerialize() |
||
| 72 | } |
||
| 73 |