| Total Complexity | 4 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 33.33% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class Literal |
||
| 6 | { |
||
| 7 | protected $literalValue; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * Literal constructor. |
||
| 11 | * |
||
| 12 | * @param $literalValue |
||
| 13 | */ |
||
| 14 | 12 | public function __construct($literalValue) |
|
| 15 | { |
||
| 16 | 12 | $this->literalValue = $literalValue; |
|
| 17 | 12 | } |
|
| 18 | |||
| 19 | /** |
||
| 20 | * @return mixed |
||
| 21 | */ |
||
| 22 | 12 | public function getLiteralValue() |
|
| 23 | { |
||
| 24 | 12 | return $this->literalValue; |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param mixed $literalValue |
||
| 29 | */ |
||
| 30 | public function setLiteralValue($literalValue) |
||
| 31 | { |
||
| 32 | $this->literalValue = $literalValue; |
||
| 33 | } |
||
| 34 | |||
| 35 | public function __toString() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |