final protected function getCookieHeader(string $cookieHeader) : string
    {
        $cookieMask = $this->contexts['cookies'];

        // Returns an empty string if cookies are masked.
        return empty($cookieMask) ? $cookieHeader : '';
    }
final protected function getCookieHeader(string $cookieHeader) : string
    {
        $cookieMask = $this->contexts['cookies'];

        // Returns an empty string if cookies are masked.
        return empty($cookieMask) ? $cookieHeader : '';
    }
final protected function getCookieHeader ( string $ cookieHeader ) : string { $ cookieMask = $ this -> contexts [ 'cookies' ] ; // Returns an empty string if cookies are masked. return empty ( $ cookieMask ) ? $ cookieHeader : '' ; }
Get the cookie header

@link https://github.com/philkra/elastic-apm-php-agent/issues/30

@return string
Get the cookie header