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',
|
'LoginForm' => 'Da\User\Form\LoginForm',
|
||||||
'SettingsForm' => 'Da\User\Form\SettingsForm',
|
'SettingsForm' => 'Da\User\Form\SettingsForm',
|
||||||
'RecoveryForm' => 'Da\User\Form\RecoveryForm',
|
'RecoveryForm' => 'Da\User\Form\RecoveryForm',
|
||||||
|
// --- services
|
||||||
|
'MailService' => 'Da\User\Service\MailService',
|
||||||
];
|
];
|
||||||
|
|
||||||
$routes = [
|
$routes = [
|
||||||
@ -349,6 +351,9 @@ class Bootstrap implements BootstrapInterface
|
|||||||
'SettingsForm',
|
'SettingsForm',
|
||||||
'RecoveryForm',
|
'RecoveryForm',
|
||||||
],
|
],
|
||||||
|
'Da\User\Service' => [
|
||||||
|
'MailService',
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
$mapping = array_merge($defaults, $userClassMap);
|
$mapping = array_merge($defaults, $userClassMap);
|
||||||
|
|||||||
Reference in New Issue
Block a user