src/Application/HttpApplication.php
public function get(string $route, callable $controller): void
    {
        $this->register($controller, Route::get($route));
    }
public function get(string $route, callable $controller): void
    {
        $this->register($controller, Route::get($route));
    }
public function get ( string $ route , callable $ controller ) : void { $ this -> register ( $ controller , Route :: get ( $ route ) ) ; }
Registers new controller that accepts get request
when request uri matches passed route pattern.

@param string $route
@param callable $controller
Registers new controller that accepts get request when request uri matches passed route pattern .