| Total Complexity | 2 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class VideoAddedSubscriber extends AbstractVideoSubscriber implements EventSubscriberInterface |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Send Image to the database and set a flash message |
||
| 14 | * @param AbstractVideoEvent $event |
||
| 15 | */ |
||
| 16 | public function registerVideoToDatabase(AbstractVideoEvent $event) |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return array The event names to listen to |
||
| 31 | */ |
||
| 32 | public static function getSubscribedEvents() |
||
| 38 | } |