protected function getResponseStatus() { if (!function_exists('http_response_code')) { return null; } return http_response_code(); }