public function getMethod()
    {
        if (null === $this->method) {
            $this->method = $this->getServer('REQUEST_METHOD', 'GET');
        }
        return $this->method;
    }
public function getMethod()
    {
        if (null === $this->method) {
            $this->method = $this->getServer('REQUEST_METHOD', 'GET');
        }
        return $this->method;
    }
public function getMethod ( ) { if ( null === $ this -> method ) { $ this -> method = $ this -> getServer ( 'REQUEST_METHOD' , 'GET' ) ; } return $ this -> method ; }
Returns the HTTP request method

@return string
Returns the HTTP request method