protected function setKey($key, $value) { $key = strtolower((string) $key); $this->keys[$key] = (string) $value; }