| 1 | <?php |
||
| 14 | final class StringUtils |
||
| 15 | { |
||
| 16 | public function __construct() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Encodes a string according to section 3.8.1. |
||
| 22 | * |
||
| 23 | * @param string $string |
||
| 24 | * @return string |
||
| 25 | */ |
||
| 26 | public static function encodeString($string) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Formats a date according to section 3.8.3. |
||
| 33 | * |
||
| 34 | * @param DateTimeInterface $dateTime |
||
| 35 | * @return string |
||
| 36 | */ |
||
| 37 | public static function formatDateTime(DateTimeInterface $dateTime) |
||
| 47 | } |
||
| 48 |