public function match($node)
    {
        /** @var RouterAbstract $router */
        foreach (clone $this as $router) {
            $rule = $router->match($node);
            if ($rule) {
                return $rule;
            }
        }

        return null;
    }
public function match($node)
    {
        /** @var RouterAbstract $router */
        foreach (clone $this as $router) {
            $rule = $router->match($node);
            if ($rule) {
                return $rule;
            }
        }

        return null;
    }
public function match ( $ node ) { /** @var RouterAbstract $router */ foreach ( clone $ this as $ router ) { $ rule = $ router -> match ( $ node ) ; if ( $ rule ) { return $ rule ; } } return null ; }
Tries to match the given node with a rule defined in one of the routers.

@param string|DescriptorAbstract $node

@return Rule|null
Tries to match the given node with a rule defined in one of the routers .