/** * @return boolean * @param \Nano\Route\Common $route * @param string $url */ public function test(\Nano\Route\Common $route, $url) { if (false === $route->match($url)) { return false; } return true; }