Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class InteractionsQueryByPageAndUser |
||
15 | { |
||
16 | private $interactionRepository; |
||
17 | private $authGateway; |
||
18 | |||
19 | public function __construct( |
||
20 | InteractionRepository $interactionRepository, |
||
21 | AuthGateway $authGateway |
||
22 | ) |
||
23 | { |
||
24 | $this->interactionRepository = $interactionRepository; |
||
25 | $this->authGateway = $authGateway; |
||
26 | } |
||
27 | |||
28 | public function execute(int $pageId):?Interaction |
||
32 | } |
||
33 | |||
34 | private function getInteractUser():CanInteract |
||
43 |