ClassLoader
class ClassLoader (View source)
A class that handles loading classes and interfaces from a class manifest instance.
Properties
| protected | array | $manifests | Map of 'instance' (ClassManifest) and other options. | 
Methods
Returns the currently active class manifest instance that is used for loading classes.
Pushes a class manifest instance onto the top of the stack.
Loads a class or interface if it is present in the currently active manifest.
Returns the path for a class or interface in the currently active manifest, or any previous ones if later manifests aren't set to "exclusive".
Details
        
                static            ClassLoader
    inst()
        
    
    No description
        
                            ClassManifest
    getManifest()
        
    
    Returns the currently active class manifest instance that is used for loading classes.
        
                            
    hasManifest()
        
    
    Returns true if this class loader has a manifest.
        
                            
    pushManifest(ClassManifest $manifest, bool $exclusive = true)
        
    
    Pushes a class manifest instance onto the top of the stack.
        
                            ClassManifest
    popManifest()
        
    
    No description
        
                            
    registerAutoloader()
        
    
    No description
        
                            string
    loadClass(string $class)
        
    
    Loads a class or interface if it is present in the currently active manifest.
        
                            string|false
    getItemPath(string $class)
        
    
    Returns the path for a class or interface in the currently active manifest, or any previous ones if later manifests aren't set to "exclusive".
        
                            
    init(bool $includeTests = false, bool $forceRegen = false)
        
    
    Initialise the class loader