| 1 | <?php |
||
| 16 | class StringUtilities |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Determine whether a string is null or empty |
||
| 20 | * |
||
| 21 | * @param string $string The string to test |
||
| 22 | * |
||
| 23 | * @return bool True if string is null or empty |
||
| 24 | */ |
||
| 25 | public static function isNullOrEmpty ($string) |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Get the literal representation of a boolean value |
||
| 32 | * |
||
| 33 | * @param bool $value A boolean value |
||
| 34 | * |
||
| 35 | * @return string True if a boolean is true |
||
| 36 | */ |
||
| 37 | 5 | public static function booleanLiteral ($value) |
|
| 41 | } |
||
| 42 |