Skip to content

Commit 561bf6e

Browse files
committed
Add Curl::getResponseCookies()
1 parent 14bc316 commit 561bf6e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Curl/Curl.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,17 @@ public function getResponseCookie($key)
632632
return isset($this->responseCookies[$key]) ? $this->responseCookies[$key] : null;
633633
}
634634

635+
/**
636+
* Get response cookies.
637+
*
638+
* @access public
639+
* @return array
640+
*/
641+
public function getResponseCookies()
642+
{
643+
return $this->responseCookies;
644+
}
645+
635646
/**
636647
* Set Port
637648
*

0 commit comments

Comments
 (0)