Added classMap for MailService

Added classMap for MailService
This commit is contained in:
Marco Germani
2019-09-11 09:55:35 +02:00
committed by GitHub
parent 97cefeda9e
commit afeda8d48a

View File

@ -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);