| Total Complexity | 3 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | final class Crypt |
||
| 6 | { |
||
| 7 | public static function asObject($key = "") |
||
| 8 | { |
||
| 9 | return new JsonObjectEncrypter(static::asJson($key)); |
||
| 10 | } |
||
| 11 | |||
| 12 | public static function asJson($key = "") |
||
| 13 | { |
||
| 14 | return new JsonEncrypter(static::asSerializer($key)); |
||
| 15 | } |
||
| 16 | |||
| 17 | public static function asSerializer($key = "") |
||
| 20 | } |
||
| 21 | } |