public function parameter(string $key, $newValue = null)
    {
        if (func_num_args() >= 2) {
            $this->parameters = array_merge($this->parameters, [$key => $newValue]);
        }

        return isset($this->parameters[$key]) ? $this->parameters[$key] : null;
    }