bundles/BlockManagerBundle/EventListener/ContextListener.php
private function getUri(Request $request): string
    {
        if ($request->attributes->has('ngbmContextUri')) {
            return $request->attributes->get('ngbmContextUri');
        }

        return $request->getRequestUri();
    }
private function getUri(Request $request): string
    {
        if ($request->attributes->has('ngbmContextUri')) {
            return $request->attributes->get('ngbmContextUri');
        }

        return $request->getRequestUri();
    }
private function getUri ( Request $ request ) : string { if ( $ request -> attributes -> has ( 'ngbmContextUri' ) ) { return $ request -> attributes -> get ( 'ngbmContextUri' ) ; } return $ request -> getRequestUri ( ) ; }
Returns the URI with the context from the request. This allows
overriding the URI with a value stored in request attributes if,
for example, there's need to pre-process the URI before checking
the signature.
Returns the URI with the context from the request . This allows overriding the URI with a value stored in request attributes if for example there s need to pre - process the URI before checking the signature .