private function ssVersion()
    {
        // Remove colons so they don't screw with YAML parsing
        $versionSapphire = str_replace(':', '', singleton(SapphireInfo::class)->Version());
        $versionLeftMain = str_replace(':', '', singleton(LeftAndMain::class)->CMSVersion());
        if ($versionSapphire != _t('SilverStripe\\Admin\\LeftAndMain.VersionUnknown', 'Unknown')) {
            return $versionSapphire;
        }
        return $versionLeftMain;
    }
private function ssVersion()
    {
        // Remove colons so they don't screw with YAML parsing
        $versionSapphire = str_replace(':', '', singleton(SapphireInfo::class)->Version());
        $versionLeftMain = str_replace(':', '', singleton(LeftAndMain::class)->CMSVersion());
        if ($versionSapphire != _t('SilverStripe\\Admin\\LeftAndMain.VersionUnknown', 'Unknown')) {
            return $versionSapphire;
        }
        return $versionLeftMain;
    }
private function ssVersion ( ) { // Remove colons so they don't screw with YAML parsing $ versionSapphire = str_replace ( ':' , '' , singleton ( SapphireInfo :: class ) -> Version ( ) ) ; $ versionLeftMain = str_replace ( ':' , '' , singleton ( LeftAndMain :: class ) -> CMSVersion ( ) ) ; if ( $ versionSapphire != _t ( 'SilverStripe\\Admin\\LeftAndMain.VersionUnknown' , 'Unknown' ) ) { return $ versionSapphire ; } return $ versionLeftMain ; }
Try different ways of obtaining the current SilverStripe version for YAML output.

@return string
Try different ways of obtaining the current SilverStripe version for YAML output .