1 | <?php |
||
12 | class HashPassword |
||
13 | { |
||
14 | /** |
||
15 | * @var PasswordHashService |
||
16 | */ |
||
17 | protected $hashService; |
||
18 | |||
19 | /** |
||
20 | * RenameFile constructor. |
||
21 | * |
||
22 | * @param PasswordHashService $hashService |
||
23 | */ |
||
24 | 1 | public function __construct(PasswordHashService $hashService) |
|
25 | { |
||
26 | 1 | $this->hashService = $hashService; |
|
27 | 1 | } |
|
28 | |||
29 | 1 | public static function enable() |
|
30 | { |
||
31 | 1 | FeatureRegistry::enable('preProcess', Target::class); |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param array $configuration |
||
36 | * @param array $entry |
||
37 | * |
||
38 | * @return array |
||
39 | */ |
||
40 | public function execute(array $configuration, array $entry) |
||
49 | } |
||
50 |