| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 58.33% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 27 | class Tiqr_UserStorage_Encryption |
||
| 28 | { |
||
| 29 | /** |
||
| 30 | * Get an encryption handler of a certain type (default: 'file') |
||
| 31 | * |
||
| 32 | * @param String $type The type of storage to create. Supported |
||
| 33 | * types are 'dummy', 'mcrypt' or the full class name. |
||
| 34 | * @param array $options The options to pass to the storage |
||
| 35 | * instance. See the documentation |
||
| 36 | * in the Encryption subdirectory for |
||
| 37 | * options per type. |
||
| 38 | * |
||
| 39 | * @return Tiqr_UserStorage_Encryption_Interface |
||
| 40 | */ |
||
| 41 | 1 | public static function getEncryption($type="dummy", $options=array()) |
|
| 59 |