/** * @return array */ public function all() { return parent::all(); }
/** * Set header information * * @param $name * @param $value * @param bool $shouldReplace */ public function set($name, $value, $shouldReplace = true) { $name = $this->normalizeName($name); $value = (array) $value; if ($shouldReplace || !$this->has($name)) { parent::add($name, $value); } else { parent::add($name, array_merge($this->data[$name], $value)); } }