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