public function setParameter($name, $value)
    {
        if (!isset($ref)) {
            $ref = new \ReflectionClass($this->config);
        }
        $function = sprintf('set%s', ucfirst($name));
        if (!$ref->hasMethod($function)) {
            throw new \InvalidArgumentException(sprintf(
                'The function "%s" does not exists on configuration',
                $name
            ));
        }
        $this->config->$function($value);

        return $this;
    }