public function getMethod()
    {
        if (!$this->method) {
            if (isset($_SERVER['REQUEST_METHOD'])) {
                $this->method = strtoupper($_SERVER['REQUEST_METHOD']);
            }
        }

        return $this->method;
    }