public function isMatch($method, $url)
	{
		$match = false;

		if (\in_array($method, $this->responds_to))
		{
			\preg_match($this->compile(), $url, $matches);

			if ( ! empty($matches))
			{
				$this->matched_params = \array_merge(
					$this->defaults,
					$this->method_defaults[$method],
					$this->cleanMatches($matches)
				);

				$match = true;
			}
		}

		return $match;
	}
public function isMatch($method, $url)
	{
		$match = false;

		if (\in_array($method, $this->responds_to))
		{
			\preg_match($this->compile(), $url, $matches);

			if ( ! empty($matches))
			{
				$this->matched_params = \array_merge(
					$this->defaults,
					$this->method_defaults[$method],
					$this->cleanMatches($matches)
				);

				$match = true;
			}
		}

		return $match;
	}
public function isMatch ( $ method , $ url ) { $ match = false ; if ( \ in_array ( $ method , $ this -> responds_to ) ) { \ preg_match ( $ this -> compile ( ) , $ url , $ matches ) ; if ( ! empty ( $ matches ) ) { $ this -> matched_params = \ array_merge ( $ this -> defaults , $ this -> method_defaults [ $ method ] , $ this -> cleanMatches ( $ matches ) ) ; $ match = true ; } } return $ match ; }
Check to see if this route is a match.

@param  string  $method The request method
@param  string  $url    The accessed url
@return boolean         [description]
Check to see if this route is a match .