File tree Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change 2020/**
2121 * Doctrine listener to handle user notifications.
2222 */
23- class NotificationSubscriber implements EventSubscriberInterface
23+ abstract class AbstractNotificationSubscriber implements EventSubscriberInterface
2424{
2525 /** @var EventDispatcherInterface */
2626 protected $ eventDispatcher ;
Original file line number Diff line number Diff line change 1515/**
1616 * Doctrine listener updating the canonical username and password fields.
1717 */
18- class UserSubscriber implements EventSubscriberInterface
18+ abstract class AbstractUserSubscriber implements EventSubscriberInterface
1919{
2020 /** @var PasswordHasherFactoryInterface */
2121 private $ hasherFactory ;
Original file line number Diff line number Diff line change @@ -12,23 +12,6 @@ services:
1212 EWZ\SymfonyAdminBundle\FileUploader\FileUploaderInterface :
1313 alias : ' symfony_admin.file_uploader'
1414
15- #
16- # Doctrine
17- #
18-
19- EWZ\SymfonyAdminBundle\Doctrine\NotificationSubscriber :
20- tags :
21- - { name: doctrine.event_subscriber, connection: default }
22- arguments :
23- - ' @event_dispatcher'
24- - ' @security.token_storage'
25-
26- EWZ\SymfonyAdminBundle\Doctrine\UserSubscriber :
27- tags :
28- - { name: doctrine.event_subscriber, connection: default }
29- arguments :
30- - ' @security.password_hasher_factory'
31-
3215 #
3316 # Security
3417 #
You can’t perform that action at this time.
0 commit comments