1 | <?php |
||
23 | class PurgeOutdatedInvitationTokensUserHandler |
||
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 PurgeOutdatedInvitationTokensUserCommand $aCommand The command |
||
46 | */ |
||
47 | public function __invoke(PurgeOutdatedInvitationTokensUserCommand $aCommand) |
||
59 | } |
||
60 |