| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | trait HasValue |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var mixed the value to query for. |
||
| 14 | */ |
||
| 15 | protected $value; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public function getValue() |
||
| 21 | { |
||
| 22 | return $this->value; |
||
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $value |
||
| 27 | * |
||
| 28 | * @return $this |
||
| 29 | */ |
||
| 30 | public function setValue($value) |
||
| 35 | } |
||
| 36 | } |
||
| 37 |