public function setCookies(array $cookies)
	{
		$this->cookies = [];
		
		foreach($cookies as $name => $value)
		{
			$this->setCookie($name, $value);
		}
		
		return $this;
	}
public function setCookies(array $cookies)
	{
		$this->cookies = [];
		
		foreach($cookies as $name => $value)
		{
			$this->setCookie($name, $value);
		}
		
		return $this;
	}
public function setCookies ( array $ cookies ) { $ this -> cookies = [ ] ; foreach ( $ cookies as $ name => $ value ) { $ this -> setCookie ( $ name , $ value ) ; } return $ this ; }
Set all cookies found in the given array.

@param array<string, mixed> $cookies
@return HttpRequest
Set all cookies found in the given array .