| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | class CommentsDeleteController |
||
| 21 | { |
||
| 22 | /** |
||
| 23 | * @var EntityManagerInterface |
||
| 24 | */ |
||
| 25 | private $manager; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param EntityManagerInterface $manager |
||
| 29 | */ |
||
| 30 | public function __construct(EntityManagerInterface $manager) |
||
| 31 | { |
||
| 32 | $this->manager = $manager; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Comment $comment |
||
| 37 | */ |
||
| 38 | public function __invoke(Comment $comment) |
||
| 42 | } |
||
| 43 | } |
||
| 44 |