forked from markitosgv/JWTRefreshTokenBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGesdinetJWTRefreshTokenBundle.php
More file actions
23 lines (19 loc) · 973 Bytes
/
GesdinetJWTRefreshTokenBundle.php
File metadata and controls
23 lines (19 loc) · 973 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace Gesdinet\JWTRefreshTokenBundle;
use Gesdinet\JWTRefreshTokenBundle\DependencyInjection\Compiler\CustomUserProviderCompilerPass;
use Gesdinet\JWTRefreshTokenBundle\DependencyInjection\Compiler\DoctrineMappingsCompilerPass;
use Gesdinet\JWTRefreshTokenBundle\DependencyInjection\Compiler\ObjectManagerCompilerPass;
use Gesdinet\JWTRefreshTokenBundle\DependencyInjection\Compiler\UserCheckerCompilerPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class GesdinetJWTRefreshTokenBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new CustomUserProviderCompilerPass());
$container->addCompilerPass(new ObjectManagerCompilerPass());
$container->addCompilerPass(new DoctrineMappingsCompilerPass());
$container->addCompilerPass(new UserCheckerCompilerPass());
}
}