22 foreach ($this->headers as &
$header) {
30 public function clear()
32 $this->headers = array();
62 public function get($key)
67 public function count()
69 return count($this->headers);
74 return isset($this->headers[strtolower($offset)]);
79 $l = strtolower($offset);
81 return isset($this->headers[$l]) ? $this->headers[$l] :
null;
84 public function offsetSet($offset, $value)
91 unset($this->headers[strtolower($offset)]);
96 return new \ArrayIterator($this->headers);