public function match($url, $to = null, array $params = array())
    {
        if (!$params && is_array($to)) {
            $params = $to;
            $to = null;
        }
        $this->createAndAddRoute($url, $to, $params);
    }
public function match($url, $to = null, array $params = array())
    {
        if (!$params && is_array($to)) {
            $params = $to;
            $to = null;
        }
        $this->createAndAddRoute($url, $to, $params);
    }
public function match ( $ url , $ to = null , array $ params = array ( ) ) { if ( ! $ params && is_array ( $ to ) ) { $ params = $ to ; $ to = null ; } $ this -> createAndAddRoute ( $ url , $ to , $ params ) ; }
Must specify a verb through the via parameter.
Must specify a verb through the via parameter .