public function add($key, $value = null)
    {
        if (is_array($key)) {
            array_map([$this, __METHOD__], array_keys($key), $key);

            return $this;
        }

        $this->options[$key] = $this->buildValue($value, $key);

        return $this;
    }