Added classMap for MailService
Added classMap for MailService
This commit is contained in:
@ -325,6 +325,8 @@ class Bootstrap implements BootstrapInterface
|
||||
'LoginForm' => 'Da\User\Form\LoginForm',
|
||||
'SettingsForm' => 'Da\User\Form\SettingsForm',
|
||||
'RecoveryForm' => 'Da\User\Form\RecoveryForm',
|
||||
// --- services
|
||||
'MailService' => 'Da\User\Service\MailService',
|
||||
];
|
||||
|
||||
$routes = [
|
||||
@ -349,6 +351,9 @@ class Bootstrap implements BootstrapInterface
|
||||
'SettingsForm',
|
||||
'RecoveryForm',
|
||||
],
|
||||
'Da\User\Service' => [
|
||||
'MailService',
|
||||
],
|
||||
];
|
||||
|
||||
$mapping = array_merge($defaults, $userClassMap);
|
||||
|
||||
Reference in New Issue
Block a user