original_string: public function setCookies($cookies = [])
      {
          if (!is_array($cookies)) {
              $this->cookies = [];
          } else {
              $this->cookies      = $cookies;
              $this->trackCookies = TRUE;
          }
      }
code: public function setCookies($cookies = [])
      {
          if (!is_array($cookies)) {
              $this->cookies = [];
          } else {
              $this->cookies      = $cookies;
              $this->trackCookies = TRUE;
          }
      }
code_tokens: public function setCookies ( $ cookies = [ ] ) { if ( ! is_array ( $ cookies ) ) { $ this -> cookies = [ ] ; } else { $ this -> cookies = $ cookies ; $ this -> trackCookies = TRUE ; } }
docstring: 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
docstring_tokens: Set any cookies to be included in the headers Must be supplied as an array