Conditions | 2 |
Paths | 2 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
39 | public function __construct($value) |
||
40 | { |
||
41 | if (null === static::$headerName) { |
||
42 | throw new InvalidHeaderValueException(sprintf( |
||
43 | 'Header name not defined on class "%s".', |
||
44 | get_called_class() |
||
45 | )); |
||
46 | } |
||
47 | |||
48 | GenericHeader::assertHeaderValue($value); |
||
49 | $this->values = $value; |
||
50 | } |
||
51 | |||
82 |