public function method(): string
    {
        if (($method = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $method; // Cached this already.
        }
        return $method = mb_strtoupper($_SERVER['REQUEST_METHOD']);
    }
public function method(): string
    {
        if (($method = &$this->cacheKey(__FUNCTION__)) !== null) {
            return $method; // Cached this already.
        }
        return $method = mb_strtoupper($_SERVER['REQUEST_METHOD']);
    }
public function method ( ) : string { if ( ( $ method = & $ this -> cacheKey ( __FUNCTION__ ) ) !== null ) { return $ method ; // Cached this already. } return $ method = mb_strtoupper ( $ _SERVER [ 'REQUEST_METHOD' ] ) ; }
Current request method.

@since 170824.30708 Current method.

@return string Current method.
Current request method .