public function setCookies($cookies, $merge = false)
    {
        if ($merge) {
            $this->cookies = array_merge($this->cookies, $cookies);
        } else {
            $this->cookies = $cookies;
        }

        return $this;
    }
public function setCookies($cookies, $merge = false)
    {
        if ($merge) {
            $this->cookies = array_merge($this->cookies, $cookies);
        } else {
            $this->cookies = $cookies;
        }

        return $this;
    }
public function setCookies ( $ cookies , $ merge = false ) { if ( $ merge ) { $ this -> cookies = array_merge ( $ this -> cookies , $ cookies ) ; } else { $ this -> cookies = $ cookies ; } return $ this ; }
Define the cookies

@param array $cookies
@param bool $merge Merge or Erase current cookies

@return $this
Define the cookies