public function setDisposition(string $dispositionType, $filename = null, $name = null)
    {
        if (!in_array($dispositionType, $this->dispositions)) {
            Checkers::notice('Unknown response type [' . $type . ']');
        } else {
            $this->disposition['type'] = $dispositionType;
        }
        if ($filename !== null) {
            $this->disposition['filename'] = (string) $filename;
        }
        if ($name !== null) {
            $this->disposition['name'] = (string) $name;
        }
        return $this;
    }