private function parse_gitlab_webhook($request_data) { $response = array(); $response['hash'] = $request_data['after']; $response['branch'] = array_pop(explode('/', $request_data['ref'])); return $response; }