| 1 | <?php  | 
            ||
| 25 | class DoctrineEventSubscriber implements EventSubscriberInterface  | 
            ||
| 26 | { | 
            ||
| 27 | /**  | 
            ||
| 28 |      * {@inheritdoc} | 
            ||
| 29 | */  | 
            ||
| 30 | public static function getSubscribedEvents(): array  | 
            ||
| 37 | |||
| 38 | /**  | 
            ||
| 39 | * @param LifecycleEventArgs $args  | 
            ||
| 40 | */  | 
            ||
| 41 | public function prePersist(LifecycleEventArgs $args): void  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * @param LifecycleEventArgs $args  | 
            ||
| 51 | */  | 
            ||
| 52 | public function preUpdate(LifecycleEventArgs $args): void  | 
            ||
| 58 | }  | 
            ||
| 59 |