forCannotSetBinary example

        $this->removeHeader('Content-Type');
    }

    /** * set download for binary string. * * @return void */
    public function setBinary(string $binary)
    {
        if ($this->file !== null) {
            throw DownloadException::forCannotSetBinary();
        }

        $this->binary = $binary;
    }

    /** * set download for file. * * @return void */
    public function setFilePath(string $filepath)
    {
Home | Imprint | This part of the site doesn't use cookies.