| 1 | <?php |
||
| 14 | final class LogAllEvents implements EventSubscriberInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var EventLogRepositoryInterface |
||
| 18 | */ |
||
| 19 | private $repository; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @return EventListener[] The event names to listen to |
||
| 23 | */ |
||
| 24 | public static function getSubscribedEvents() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @param EventLogRepositoryInterface $repository |
||
| 33 | */ |
||
| 34 | public function __construct(EventLogRepositoryInterface $repository) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param AbstractEvent $event |
||
| 41 | * |
||
| 42 | * @return AbstractEvent |
||
| 43 | */ |
||
| 44 | public function logEvent(AbstractEvent $event) |
||
| 50 | } |
||
| 51 |