public static function getVersion($pluginCode)
    {
        if (self::$versionCache === null) {
            self::$versionCache = self::lists('version', 'code');
        }

        return self::$versionCache[$pluginCode] ?? null;
    }
public static function getVersion($pluginCode)
    {
        if (self::$versionCache === null) {
            self::$versionCache = self::lists('version', 'code');
        }

        return self::$versionCache[$pluginCode] ?? null;
    }
public static function getVersion ( $ pluginCode ) { if ( self :: $ versionCache === null ) { self :: $ versionCache = self :: lists ( 'version' , 'code' ) ; } return self :: $ versionCache [ $ pluginCode ] ?? null ; }
Returns the current version for a plugin
@param  string $pluginCode Plugin code. Eg: Acme.Blog
@return string
Returns the current version for a plugin