Total Complexity | 3 |
Total Lines | 12 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class Crypt implements TransformerInterface,TransformerViewInterface { |
||
9 | |||
10 | public static function transform($value) { |
||
11 | return EncryptionManager::encrypt($value); |
||
12 | } |
||
13 | |||
14 | public static function reverse($value) { |
||
15 | return EncryptionManager::decryptString($value); |
||
16 | } |
||
17 | |||
18 | public static function toView($value) { |
||
20 | } |
||
21 | } |
||
22 |