Get an array of Cookies
array
Overrides RequestInterface::getCookies
public function getCookies() {
if ($cookie = $this
->getHeader('Cookie')) {
$data = ParserRegistry::getInstance()
->getParser('cookie')
->parseCookie($cookie);
return $data['cookies'];
}
return array();
}