use OAuth2Framework\ServerBundle\Service\MetadataBuilder;
17
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
18
use Symfony\Component\DependencyInjection\ContainerBuilder;
19
20
class SessionManagementRouteCompilerPass implements CompilerPassInterface
21
{
22
/**
23
* {@inheritdoc}
24
*/
25
public function process(ContainerBuilder $container)
26
{
27
if (!$container->hasDefinition('oauth2_server.endpoint.session_management_pipe') || !$container->getParameter('oauth2_server.endpoint.session_management.enabled')) {