public function setParam($key, $value, $type = \PDO::PARAM_STR): self
    {
        if (null === $key) {
            $key = \count($this->params);
        }

        $this->params[$key] = $value;
        $this->types[$key] = $type;

        return $this;
    }