Conditions | 3 |
Paths | 4 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
15 | public function __construct( |
||
16 | string $encryptionMethod = self::DEFAULT_ENCRYPTION_METHOD, |
||
17 | callable $keyProvider = null, |
||
18 | callable $saltGenerator = null |
||
19 | ) { |
||
20 | $this->method = $encryptionMethod; |
||
21 | $this->keyProvider = $keyProvider ?: default_key_provider(); |
||
22 | $this->saltGenerator = $saltGenerator ?: default_salt_generator(); |
||
23 | } |
||
24 | |||
70 |