protected function decomposeObjectHeader($header) { preg_match('/application\\/vnd\\.ez\\.api\\.(.*)\\+(?:json|xml)/i', $header, $match); return empty($match) ? false : $match[1]; }