Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
9 | class TrickDeletedSubscriber extends AbstractTrickSubscriber implements EventSubscriberInterface |
||
10 | { |
||
11 | /** |
||
12 | * Send trick to the database and set a flash message |
||
13 | * @param TrickDeletedEvent $event |
||
14 | */ |
||
15 | public function deleteTrickFromDatabase(TrickDeletedEvent $event) |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * @return array The event names to listen to |
||
24 | */ |
||
25 | public static function getSubscribedEvents() |
||
31 | } |