moduleCache
    
            
            in package
            
        
    
    
    
        
            Caches module objects.
This improves performance if the same module does not need to be created multiple times (calling get_metaData() each time).
Tags
Table of Contents
- $cache : mixed
 - module cache ("name:scope" => module)
 - getModule() : null|baseModule
 - Returns a new/cached module with the given name and scope.
 
Properties
$cache
module cache ("name:scope" => module)
    private
    static    mixed
    $cache
     = []
    
        
    
Methods
getModule()
Returns a new/cached module with the given name and scope.
    public
            static        getModule(string $name, string|null $scope) : null|baseModule
    
        Parameters
- $name : string
 - 
                    
module name
 - $scope : string|null
 - 
                    
module scope (e.g. user)
 
Return values
null|baseModule —module object