| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class Cdata |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | private $value; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $value |
||
| 24 | */ |
||
| 25 | public function __construct($value) |
||
| 26 | { |
||
| 27 | $this->value = $value; |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Allows to get the wrapped value by casting an instance to string |
||
| 32 | * |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function __toString() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |