Total Complexity | 2 |
Total Lines | 21 |
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) |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @return array The event names to listen to |
||
26 | */ |
||
27 | public static function getSubscribedEvents() |
||
33 | } |