| Total Complexity | 2 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 22 | class Base64 |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * Base64::encode |
||
| 26 | * |
||
| 27 | * Encrypt a string with URL-Safe Base64. |
||
| 28 | * |
||
| 29 | * @param $string |
||
| 30 | * |
||
| 31 | * @return string |
||
| 32 | */ |
||
| 33 | public static function encode($string) |
||
| 38 | } |
||
| 39 | |||
| 40 | // ------------------------------------------------------------------------ |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Base64::decode |
||
| 44 | * |
||
| 45 | * Decrypt a string with URL-Safe Base64. |
||
| 46 | * |
||
| 47 | * @param $string |
||
| 48 | * |
||
| 49 | * @return bool|string |
||
| 50 | */ |
||
| 51 | public static function decode($string) |
||
| 56 | } |
||
| 57 | } |