Total Complexity | 5 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
10 | class DispatchAnalyticsJob |
||
11 | { |
||
12 | use InteractsWithQueue; |
||
13 | |||
14 | public ClientIdRepository $clientIdRepository; |
||
15 | |||
16 | public function __construct(ClientIdRepository $clientIdRepository) |
||
17 | { |
||
18 | $this->clientIdRepository = $clientIdRepository; |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Gets the Client ID from the repository and dispatched the event |
||
23 | */ |
||
24 | public function handle($event): void |
||
33 | } |
||
34 | |||
35 | private function userId(): ?string |
||
44 |