public function setCookies($cookies = [])
    {
        if (!is_array($cookies)) {
            $this->cookies = [];
        } else {
            $this->cookies      = $cookies;
            $this->trackCookies = TRUE;
        }
    }
public function setCookies($cookies = [])
    {
        if (!is_array($cookies)) {
            $this->cookies = [];
        } else {
            $this->cookies      = $cookies;
            $this->trackCookies = TRUE;
        }
    }
public function setCookies ( $ cookies = [ ] ) { if ( ! is_array ( $ cookies ) ) { $ this -> cookies = [ ] ; } else { $ this -> cookies = $ cookies ; $ this -> trackCookies = TRUE ; } }
Set any cookies to be included in the headers
Must be supplied as an array

@param array $cookies The array of cookies to be sent

@author: 713uk13m <dev@nguyenanhung.com>
@time  : 10/7/18 02:18
Set any cookies to be included in the headers Must be supplied as an array