Symfony\Component\HttpFoundation\BinaryFileResponse::setAutoLastModified PHP Метод

setAutoLastModified() публичный Метод

Automatically sets the Last-Modified header according the file modification date.
public setAutoLastModified ( )
    public function setAutoLastModified()
    {
        $this->setLastModified(\DateTime::createFromFormat('U', $this->file->getMTime()));
        return $this;
    }