code/LeftAndMain.php
public function CMSVersionNumber()
    {
        $moduleName = array_keys($this->getVersionProvider()->getModules())[0];
        $lockModules = $this->getVersionProvider()->getModuleVersionFromComposer([$moduleName]);

        if (!isset($lockModules[$moduleName])) {
            return '';
        }

        return $lockModules[$moduleName];
    }
public function CMSVersionNumber()
    {
        $moduleName = array_keys($this->getVersionProvider()->getModules())[0];
        $lockModules = $this->getVersionProvider()->getModuleVersionFromComposer([$moduleName]);

        if (!isset($lockModules[$moduleName])) {
            return '';
        }

        return $lockModules[$moduleName];
    }
public function CMSVersionNumber ( ) { $ moduleName = array_keys ( $ this -> getVersionProvider ( ) -> getModules ( ) ) [ 0 ] ; $ lockModules = $ this -> getVersionProvider ( ) -> getModuleVersionFromComposer ( [ $ moduleName ] ) ; if ( ! isset ( $ lockModules [ $ moduleName ] ) ) { return '' ; } return $ lockModules [ $ moduleName ] ; }
Return the version number of the CMS, ie. '4.2.1'

@return string
Return the version number of the CMS ie . 4 . 2 . 1