Flint\Routing\ChainMatcher::add PHP Method

add() public method

public add ( Symfony\Component\Routing\Matcher\UrlMatcherInterface $matcher, $priority )
$matcher Symfony\Component\Routing\Matcher\UrlMatcherInterface
    public function add(UrlMatcherInterface $matcher, $priority = 0)
    {
        $this->matchers[$priority][] = $matcher;
    }