src/SnooPHP/Http/Router.php
protected function add($url, $method, Callable $action)
	{
		$url = $this->base !== "" && $url === "/" ? $this->base : $this->base.$url;
		$route = new Route($url, $method, $action);
		$this->routes[] = $route;

		return $route;
	}
protected function add($url, $method, Callable $action)
	{
		$url = $this->base !== "" && $url === "/" ? $this->base : $this->base.$url;
		$route = new Route($url, $method, $action);
		$this->routes[] = $route;

		return $route;
	}
Add a generic route

Use dedicated methods:
@see Router::get
@see Router::post
@see Router::put
@see Router::delete

@param string	$url	route url
@param string	$method	route method
@param Callable	$action	route action

@return Route