public function getParameter($key)
    {
        if ($this->hasParameter($key)) {
            return $this->parameters[$key];
        }

        throw new \InvalidArgumentException(
            sprintf('Wrong parameter key "%s" , invalid returned the key', $key)
        );
    }