Total Complexity | 2 |
Total Lines | 22 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
20 | final class DeleteCommentController |
||
21 | { |
||
22 | /** |
||
23 | * @var EntityManagerInterface |
||
24 | */ |
||
25 | private $entityManager; |
||
26 | |||
27 | /** |
||
28 | * @param EntityManagerInterface $manager |
||
29 | */ |
||
30 | 3 | public function __construct(EntityManagerInterface $manager) |
|
33 | 3 | } |
|
34 | |||
35 | /** |
||
36 | * @param Comment $comment |
||
37 | */ |
||
38 | 1 | public function __invoke(Comment $comment) |
|
44 |