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