protected function searchCookiesInHeaders() {
        $headers = $this->holder->getHeaders()->get('set-cookie');

        foreach ($headers as $header) {
            $cookie = $this->createCookieFromHeader($header);

            if ($cookie !== null) {
                $this->storeCookie($cookie);
            }
        }
    }
protected function searchCookiesInHeaders() {
        $headers = $this->holder->getHeaders()->get('set-cookie');

        foreach ($headers as $header) {
            $cookie = $this->createCookieFromHeader($header);

            if ($cookie !== null) {
                $this->storeCookie($cookie);
            }
        }
    }
protected function searchCookiesInHeaders ( ) { $ headers = $ this -> holder -> getHeaders ( ) -> get ( 'set-cookie' ) ; foreach ( $ headers as $ header ) { $ cookie = $ this -> createCookieFromHeader ( $ header ) ; if ( $ cookie !== null ) { $ this -> storeCookie ( $ cookie ) ; } } }
Parse headers for cookies.
Parse headers for cookies .