/** * * * @param string $key * @return mixed * @throws \DomainException */ protected function getParameter($key) { return $this->parameters->get($key); }