src/mako/http/routing/Routes.php
public function get(string $route, $action, ?string $name = null): Route
	{
		return $this->registerRoute(['GET', 'HEAD', 'OPTIONS'], $route, $action, $name);
	}
public function get(string $route, $action, ?string $name = null): Route
	{
		return $this->registerRoute(['GET', 'HEAD', 'OPTIONS'], $route, $action, $name);
	}
public function get ( string $ route , $ action , ? string $ name = null ) : Route { return $ this -> registerRoute ( [ 'GET' , 'HEAD' , 'OPTIONS' ] , $ route , $ action , $ name ) ; }
Adds a route that responds to GET requests to the collection.

@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 responds to GET requests to the collection .