Requests_Cookie_Jar::getIterator() WordPress Method
The Requests_Cookie_Jar::getIterator() method is a simple way to iterate over all the cookies in a cookie jar. The method returns an iterator which can be used to fetch all the cookies in the jar.
Requests_Cookie_Jar::getIterator() #
Get an iterator for the data
Return
(ArrayIterator)
Source
File: wp-includes/Requests/Cookie/Jar.php
public function getIterator() { return new ArrayIterator($this->cookies); }
Expand full source codeCollapse full source codeView on TracView on GitHub