Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | class CommentDeletedSubscriber extends CommentSubscriber implements EventSubscriberInterface |
||
11 | { |
||
12 | /** |
||
13 | * Deletes a comment |
||
14 | * @param CommentDeletedEvent $event |
||
15 | */ |
||
16 | public function deleteCommentFromDatabase(CommentDeletedEvent $event) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return array The event names to listen to |
||
24 | */ |
||
25 | public static function getSubscribedEvents() |
||
31 | } |