1 | <?php |
||
25 | class ExpiredPasswordCleaner implements ExpiredPasswordCleanerInterface |
||
26 | { |
||
27 | /** |
||
28 | * @var PasswordRepositoryInterface |
||
29 | */ |
||
30 | private $passwordRepository; |
||
31 | |||
32 | /** |
||
33 | * @var ConfigProviderInterface |
||
34 | */ |
||
35 | private $configProvider; |
||
36 | |||
37 | /** |
||
38 | * @var DateTime |
||
39 | */ |
||
40 | private $dateTime; |
||
41 | |||
42 | /** |
||
43 | * ExpiredPasswordCleaner constructor. |
||
44 | * @param PasswordRepositoryInterface $passwordRepository |
||
45 | * @param ConfigProviderInterface $configProvider |
||
46 | * @param DateTime $dateTime |
||
47 | */ |
||
48 | public function __construct( |
||
57 | |||
58 | /** |
||
59 | * @return void |
||
60 | */ |
||
61 | public function removeExpiredPasswords(): void |
||
72 | |||
73 | /** |
||
74 | * @return string |
||
75 | * @throws CleanupDisabledException |
||
76 | */ |
||
77 | private function getCleanupAfterDateString(): string |
||
93 | } |
||
94 |