| Total Complexity | 4 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | final class HeaderWithObservations |
||
| 11 | { |
||
| 12 | /** @var string */ |
||
| 13 | private $headerName; |
||
| 14 | /** @var string */ |
||
| 15 | private $headerValue; |
||
| 16 | /** @var ObservationCollection */ |
||
| 17 | private $observations; |
||
| 18 | |||
| 19 | public function __construct(string $headerName, string $headerValue, ObservationCollection $observations) |
||
| 20 | { |
||
| 21 | $this->headerName = $headerName; |
||
| 22 | $this->headerValue = $headerValue; |
||
| 23 | $this->observations = $observations; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getHeaderName(): string |
||
| 27 | { |
||
| 28 | return $this->headerName; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function getHeaderValue(): string |
||
| 34 | } |
||
| 35 | |||
| 36 | public function getObservations(): ObservationCollection |
||
| 41 |