private function MultipartStream::getHeader in Auth0 Single Sign On 8.2
1 call to MultipartStream::getHeader()
- MultipartStream::createElement in vendor/
guzzlehttp/ psr7/ src/ MultipartStream.php
File
- vendor/
guzzlehttp/ psr7/ src/ MultipartStream.php, line 142
Class
- MultipartStream
- Stream that when read returns bytes for a streaming multipart or multipart/form-data stream.
Namespace
GuzzleHttp\Psr7Code
private function getHeader(array $headers, $key) {
$lowercaseHeader = strtolower($key);
foreach ($headers as $k => $v) {
if (strtolower($k) === $lowercaseHeader) {
return $v;
}
}
return null;
}