Merge pull request #348 from necrox87/patch-1

Added classMap for MailService
This commit is contained in:
Antonio Ramirez
2019-09-17 17:39:10 +02:00
committed by GitHub
3 changed files with 11 additions and 1 deletions

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