src/mako/http/routing/Routes.php
public function register(array $methods, string $route, $action, ?string $name = null): Route
	{
		return $this->registerRoute($methods, $route, $action, $name);
	}
public function register(array $methods, string $route, $action, ?string $name = null): Route
	{
		return $this->registerRoute($methods, $route, $action, $name);
	}
public function register ( array $ methods , string $ route , $ action , ? string $ name = null ) : Route { return $ this -> registerRoute ( $ methods , $ route , $ action , $ name ) ; }
Adds a route that respodns to the chosen HTTP methods to the collection.

@param  array                    $methods Array of HTTP methods the route should respond to
@param  string                   $route   Route
@param  string|\Closure          $action  Route action
@param  string|null              $name    Route name
@return \mako\http\routing\Route
Adds a route that respodns to the chosen HTTP methods to the collection .