| 1 | <?php |
||
| 22 | class BooleanHelper { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Determines if a value is a boolean. |
||
| 26 | * |
||
| 27 | * @param mixed $value The value. |
||
| 28 | * @throws BooleanArgumentException Throws a Boolean argument exception if the value is not of expected type. |
||
| 29 | */ |
||
| 30 | public static function isBoolean($value) { |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Parse a string. |
||
| 38 | * |
||
| 39 | * @param string $value The string value. |
||
| 40 | * @return boolean Returns true in case of success, false otherwise. |
||
| 41 | */ |
||
| 42 | public static function parseString($value) { |
||
| 58 | |||
| 59 | } |
||
| 60 |