Total Complexity | 5 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | final class Attribute |
||
6 | { |
||
7 | private $value; |
||
8 | private $attribute; |
||
9 | |||
10 | /** |
||
11 | * @param string $attribute |
||
12 | * @param mixed $value |
||
13 | */ |
||
14 | public function __construct($attribute, $value = null) |
||
18 | } |
||
19 | |||
20 | public function getName() |
||
21 | { |
||
22 | return $this->attribute; |
||
23 | } |
||
24 | |||
25 | public function getValue() |
||
26 | { |
||
27 | return $this->value; |
||
28 | } |
||
29 | |||
30 | public function isEmpty() |
||
33 | } |
||
34 | } |
||
35 |