| 1 | <?php namespace Limoncello\Crypt\Package; |
||
| 24 | class HasherSettings implements SettingsInterface |
||
| 25 | { |
||
| 26 | /** Settings key */ |
||
| 27 | const KEY_ALGORITHM = 0; |
||
| 28 | |||
| 29 | /** Settings key */ |
||
| 30 | const KEY_COST = self::KEY_ALGORITHM + 1; |
||
| 31 | |||
| 32 | /** Settings key */ |
||
| 33 | const KEY_LAST = self::KEY_COST + 1; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @inheritdoc |
||
| 37 | */ |
||
| 38 | 1 | final public function get(): array |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | 1 | protected function getSettings(): array |
|
| 55 | } |
||
| 56 |