| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class Property { |
||
| 7 | |||
| 8 | /** |
||
| 9 | * @var string |
||
| 10 | */ |
||
| 11 | public $name; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | public $value; |
||
| 17 | |||
| 18 | 6 | public function __construct(array $prop) { |
|
| 19 | 6 | $this->name = $prop['name']; |
|
| 20 | 6 | $this->value = $prop['value']; |
|
| 21 | 6 | } |
|
| 22 | |||
| 23 | 4 | public function getName(): string { |
|
| 25 | } |
||
| 26 | |||
| 27 | 2 | public function getValue(): string { |
|
| 29 | } |
||
| 30 | |||
| 32 |