public function get(string $pattern, callable $callback)
    {
        if ($this->requestMethod === "GET") {
            $this->mapRoute($pattern, $callback);
        }
    }
public function get(string $pattern, callable $callback)
    {
        if ($this->requestMethod === "GET") {
            $this->mapRoute($pattern, $callback);
        }
    }
public function get ( string $ pattern , callable $ callback ) { if ( $ this -> requestMethod === "GET" ) { $ this -> mapRoute ( $ pattern , $ callback ) ; } }
allow to access via the get request

@param string $pattern
@param callable $callback
allow to access via the get request