| 1 | <?php |
||
| 23 | class PurgeOutdatedRememberPasswordTokensUserHandler |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * The user repository. |
||
| 27 | * |
||
| 28 | * @var UserRepository |
||
| 29 | */ |
||
| 30 | private $repository; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Constructor. |
||
| 34 | * |
||
| 35 | * @param UserRepository $aRepository The user repository |
||
| 36 | */ |
||
| 37 | public function __construct(UserRepository $aRepository) |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Handles the given command. |
||
| 44 | * |
||
| 45 | * @param PurgeOutdatedRememberPasswordTokensUserCommand $aCommand The command |
||
| 46 | */ |
||
| 47 | public function __invoke(PurgeOutdatedRememberPasswordTokensUserCommand $aCommand) |
||
| 59 | } |
||
| 60 |