protected function getRequestCookies()
    {
        $pairs = array();

        foreach ($this->cookies as $k => $v) {
            $pairs[] = "$k=$v";
        }

        return join($pairs, ';');
    }
protected function getRequestCookies()
    {
        $pairs = array();

        foreach ($this->cookies as $k => $v) {
            $pairs[] = "$k=$v";
        }

        return join($pairs, ';');
    }
protected function getRequestCookies ( ) { $ pairs = array ( ) ; foreach ( $ this -> cookies as $ k => $ v ) { $ pairs [ ] = "$k=$v" ; } return join ( $ pairs , ';' ) ; }
Returns a string with the list of cookies for the Cookie header.

@return string
Returns a string with the list of cookies for the Cookie header .