src/Leevel/Http/FileResponse.php
public function setContent($content): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        if (null !== $content) {
            throw new LogicException('The content cannot be set on a FileResponse instance.');
        }

        return $this;
    }
public function setContent($content): IResponse
    {
        if ($this->checkFlowControl()) {
            return $this;
        }

        if (null !== $content) {
            throw new LogicException('The content cannot be set on a FileResponse instance.');
        }

        return $this;
    }
{@inheritdoc}