concrete/src/Entity/File/Version.php
public function updateTitle($title)
    {
        $app = Application::getFacadeApplication();
        $this->fvTitle = $title;
        $this->save();
        $this->logVersionUpdate(self::UT_TITLE);
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_update_title', $fve);
    }
public function updateTitle($title)
    {
        $app = Application::getFacadeApplication();
        $this->fvTitle = $title;
        $this->save();
        $this->logVersionUpdate(self::UT_TITLE);
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_update_title', $fve);
    }
public function updateTitle ( $ title ) { $ app = Application :: getFacadeApplication ( ) ; $ this -> fvTitle = $ title ; $ this -> save ( ) ; $ this -> logVersionUpdate ( self :: UT_TITLE ) ; $ fve = new FileVersionEvent ( $ this ) ; $ app -> make ( EventDispatcherInterface :: class ) -> dispatch ( 'on_file_version_update_title' , $ fve ) ; }
Update the title of the file.

@param string $title
Update the title of the file .