protected function setParameter($key, $value) { $this->parameters->set($key, $value); return $this; }