concrete/controllers/dialog/file/replace.php
protected function setReplacingFile(File $value = null)
    {
        if ($value !== $this->replacingFile) {
            $this->replacingFile = $value;
        }

        return $this;
    }
protected function setReplacingFile(File $value = null)
    {
        if ($value !== $this->replacingFile) {
            $this->replacingFile = $value;
        }

        return $this;
    }
protected function setReplacingFile ( File $ value = null ) { if ( $ value !== $ this -> replacingFile ) { $ this -> replacingFile = $ value ; } return $ this ; }
Set the file being replaced.

@param \Concrete\Core\Entity\File\File|null $value null if not found, a File instance otherwise

@return $this
Set the file being replaced .