private function isHttpMethodFiltered($method): bool
    {
        $method = strtoupper($method);
        if ($this->getSecured && $method == "GET") {
            return true;
        } elseif ($this->postSecured && $method == "POST") {
            return true;
        } elseif ($this->putSecured && $method == "PUT") {
            return true;
        } elseif ($this->deleteSecured && $method == "DELETE") {
            return true;
        }
        return false;
    }
private function isHttpMethodFiltered($method): bool
    {
        $method = strtoupper($method);
        if ($this->getSecured && $method == "GET") {
            return true;
        } elseif ($this->postSecured && $method == "POST") {
            return true;
        } elseif ($this->putSecured && $method == "PUT") {
            return true;
        } elseif ($this->deleteSecured && $method == "DELETE") {
            return true;
        }
        return false;
    }
private function isHttpMethodFiltered ( $ method ) : bool { $ method = strtoupper ( $ method ) ; if ( $ this -> getSecured && $ method == "GET" ) { return true ; } elseif ( $ this -> postSecured && $ method == "POST" ) { return true ; } elseif ( $ this -> putSecured && $ method == "PUT" ) { return true ; } elseif ( $ this -> deleteSecured && $ method == "DELETE" ) { return true ; } return false ; }
Checks if the specified method should be filtered.

@param string $method
@return bool
Checks if the specified method should be filtered .