private function isHttpGetRequest() { $requestMethod = isset($_SERVER['REQUEST_METHOD']) ? $_SERVER['REQUEST_METHOD'] : 'GET'; return strtoupper($requestMethod) === 'GET'; }