| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Header |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | protected $id; |
||
| 9 | |||
| 10 | /** @var string */ |
||
| 11 | protected $value; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param string $id |
||
| 15 | * @param string $value |
||
| 16 | */ |
||
| 17 | public function __construct($id, $value) |
||
| 21 | } |
||
| 22 | |||
| 23 | public function setHeaders(array $headers) |
||
| 24 | { |
||
| 25 | $this->headers = $headers; |
||
|
|
|||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | public function getId() |
||
| 34 | } |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getValue() |
||
| 42 | } |
||
| 43 | } |
||
| 44 |