public function __construct(bool
$strictMode = false, array
$cookieArray =
[]) { $this->strictMode =
$strictMode;
foreach ($cookieArray as $cookie) { if (!
($cookie instanceof SetCookie
)) { $cookie =
new SetCookie($cookie);
} $this->
setCookie($cookie);
} } /**
* Create a new Cookie jar from an associative array and domain.
*
* @param array $cookies Cookies to create the jar from
* @param string $domain Domain to set the cookies to
*/