Set an attribute.
string $name:
string $value:
AcceptHeaderItem
public function setAttribute($name, $value) { if ('q' === $name) { $this->quality = (double) $value; } else { $this->attributes[$name] = (string) $value; } return $this; }