protected function isUARouted(string $url)
    {
        $exploded = explode('/', $url);
        $uaRoute = $exploded[0];

        $routingData = $this->getParameter('field_cito.routing.user_agent_routing');
        foreach ($routingData as $route => $browsers) {
            if ($route === $uaRoute) {
                return true;
            }
        }
        return false;
    }
protected function isUARouted(string $url)
    {
        $exploded = explode('/', $url);
        $uaRoute = $exploded[0];

        $routingData = $this->getParameter('field_cito.routing.user_agent_routing');
        foreach ($routingData as $route => $browsers) {
            if ($route === $uaRoute) {
                return true;
            }
        }
        return false;
    }
protected function isUARouted ( string $ url ) { $ exploded = explode ( '/' , $ url ) ; $ uaRoute = $ exploded [ 0 ] ; $ routingData = $ this -> getParameter ( 'field_cito.routing.user_agent_routing' ) ; foreach ( $ routingData as $ route => $ browsers ) { if ( $ route === $ uaRoute ) { return true ; } } return false ; }
Checks if UserAgent is Routed
Checks if UserAgent is Routed