Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | final class DeletionExecutor |
||
21 | { |
||
22 | use LoggerAwareTrait; |
||
23 | |||
24 | private VoterInterface $voter; |
||
25 | private DeleterInterface $deleter; |
||
26 | |||
27 | public function __construct(VoterInterface $voter, DeleterInterface $deleter) |
||
28 | { |
||
29 | $this->voter = $voter; |
||
30 | $this->deleter = $deleter; |
||
31 | } |
||
32 | |||
33 | public function delete(UserInterface $user): void |
||
43 | } |
||
44 | } |
||
45 |