src/Budkit/Protocol/Http/Response.php
public function setCookies($cookies = [])
    {

        $this->cookies = ($cookies instanceof Parameters) ? $cookies : new Parameters("cookies", (array)$cookies);

        return $this;
    }
public function setCookies($cookies = [])
    {

        $this->cookies = ($cookies instanceof Parameters) ? $cookies : new Parameters("cookies", (array)$cookies);

        return $this;
    }
public function setCookies ( $ cookies = [ ] ) { $ this -> cookies = ( $ cookies instanceof Parameters ) ? $ cookies : new Parameters ( "cookies" , ( array ) $ cookies ) ; return $ this ; }
Sets the response cookies. Be warned that this replaces all cookies;

@param string $cookies

@return void
@author Livingstone Fultang
Sets the response cookies . Be warned that this replaces all cookies ;