Ejemplo n.º 1
0
 protected function sendCookies()
 {
     if (!$this->cookies) {
         return;
     }
     foreach ($this->cookies as $key => $value) {
         $str = $this->cookies->parseValue($key, $value);
         header("Set-Cookie: {$str}", true);
     }
 }