concrete/src/Entity/File/Version.php
public function updateFile($filename, $prefix)
    {
        $this->fvFilename = $filename;
        $this->fvPrefix = $prefix;
        $this->save();
        $this->logVersionUpdate(self::UT_REPLACE_FILE);
    }
public function updateFile($filename, $prefix)
    {
        $this->fvFilename = $filename;
        $this->fvPrefix = $prefix;
        $this->save();
        $this->logVersionUpdate(self::UT_REPLACE_FILE);
    }
public function updateFile ( $ filename , $ prefix ) { $ this -> fvFilename = $ filename ; $ this -> fvPrefix = $ prefix ; $ this -> save ( ) ; $ this -> logVersionUpdate ( self :: UT_REPLACE_FILE ) ; }
Update the filename and the path prefix of the file.

@param string $filename The new name of file
@param string $prefix The new path prefix
Update the filename and the path prefix of the file .