Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 71.43% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | final class ScalarDataSet implements DataSetInterface |
||
10 | { |
||
11 | private $value; |
||
12 | |||
13 | 6 | public function __construct($value) |
|
14 | { |
||
15 | 6 | $this->value = $value; |
|
16 | 6 | } |
|
17 | |||
18 | 6 | public function getAttributeValue(string $attribute) |
|
19 | { |
||
20 | 6 | return $this->value; |
|
21 | } |
||
22 | |||
23 | public function hasAttribute(string $attribute): bool |
||
26 | } |
||
27 | } |
||
28 |