1 | <?php namespace Anomaly\UsersModule\User\Listener; |
||
13 | class TouchLastActivity |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * The auth utility. |
||
18 | * |
||
19 | * @var Guard |
||
20 | */ |
||
21 | protected $auth; |
||
22 | |||
23 | /** |
||
24 | * The user repository. |
||
25 | * |
||
26 | * @var UserRepositoryInterface |
||
27 | */ |
||
28 | protected $users; |
||
29 | |||
30 | /** |
||
31 | * Create a new TouchLastActivity instance. |
||
32 | * |
||
33 | * @param Guard $auth |
||
34 | * @param UserRepositoryInterface $users |
||
35 | */ |
||
36 | public function __construct(Guard $auth, UserRepositoryInterface $users) |
||
41 | |||
42 | /** |
||
43 | * Handle the event. |
||
44 | */ |
||
45 | public function handle() |
||
51 | } |
||
52 |