src/Http/Router/Route.php
public static function get($url, $callback)
    {
        $route = new self($url);
        $route->setClosure($callback);
        $route->setMethod('get');

        $route->add();

        return $route;
    }
public static function get($url, $callback)
    {
        $route = new self($url);
        $route->setClosure($callback);
        $route->setMethod('get');

        $route->add();

        return $route;
    }
public static function get ( $ url , $ callback ) { $ route = new self ( $ url ) ; $ route -> setClosure ( $ callback ) ; $ route -> setMethod ( 'get' ) ; $ route -> add ( ) ; return $ route ; }
To add HTTP get request.

@param string  $url
@param Closure $callback

@return $this
To add HTTP get request .