| 1 | <?php |
||
| 8 | class BooleanString extends StringLiteral |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Returns a BooleanString object |
||
| 12 | * |
||
| 13 | * @param string $value |
||
| 14 | */ |
||
| 15 | 28 | public function __construct($value) |
|
| 23 | |||
| 24 | /** |
||
| 25 | * Returns the bool value of the BooleanString |
||
| 26 | * |
||
| 27 | * @return bool |
||
| 28 | */ |
||
| 29 | 18 | public function toBool() |
|
| 33 | } |
||
| 34 |