forked from nucleos/NucleosProfileBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemail_confirmation.php
More file actions
27 lines (22 loc) · 822 Bytes
/
email_confirmation.php
File metadata and controls
27 lines (22 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/*
* (c) Christian Gripp <mail@core23.de>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Nucleos\ProfileBundle\EventListener\EmailConfirmationListener;
use Symfony\Component\DependencyInjection\Reference;
return static function (ContainerConfigurator $container): void {
$container->services()
->set(EmailConfirmationListener::class)
->tag('kernel.event_subscriber')
->args([
new Reference('nucleos_profile.mailer'),
new Reference('nucleos_user.util.token_generator'),
new Reference('router'),
new Reference('request_stack'),
])
;
};