private getIdentifier ( |
||
$request | ||
$header | string | |
return | null | |
private function getIdentifier(Request $request, $header)
{
if (null !== ($value = $request->headers->get($header))) {
return Identifier::fromString($value);
}
return null;
}