DependencyInjection/Compiler/ObjectManagerCompilerPass.php 1 location
|
@@ 11-25 (lines=15) @@
|
8 |
|
/** |
9 |
|
* ObjectManagerCompilerPass. |
10 |
|
*/ |
11 |
|
final class ObjectManagerCompilerPass implements CompilerPassInterface |
12 |
|
{ |
13 |
|
/** |
14 |
|
* {@inheritdoc} |
15 |
|
*/ |
16 |
|
public function process(ContainerBuilder $container) |
17 |
|
{ |
18 |
|
$objectManagerId = $container->getParameter('gesdinet.jwtrefreshtoken.object_manager.id'); |
19 |
|
if (!$objectManagerId) { |
20 |
|
return; |
21 |
|
} |
22 |
|
|
23 |
|
$container->setAlias('gesdinet.jwtrefreshtoken.object_manager', $objectManagerId); |
24 |
|
} |
25 |
|
} |
26 |
|
|
DependencyInjection/Compiler/UserCheckerCompilerPass.php 1 location
|
@@ 11-25 (lines=15) @@
|
8 |
|
/** |
9 |
|
* UserCheckerCompilerPass. |
10 |
|
*/ |
11 |
|
final class UserCheckerCompilerPass implements CompilerPassInterface |
12 |
|
{ |
13 |
|
/** |
14 |
|
* {@inheritdoc} |
15 |
|
*/ |
16 |
|
public function process(ContainerBuilder $container) |
17 |
|
{ |
18 |
|
$userCheckerId = $container->getParameter('gesdinet.jwtrefreshtoken.user_checker.id'); |
19 |
|
if (!$userCheckerId) { |
20 |
|
return; |
21 |
|
} |
22 |
|
|
23 |
|
$container->setAlias('gesdinet.jwtrefreshtoken.user_checker', $userCheckerId); |
24 |
|
} |
25 |
|
} |
26 |
|
|