Cache
 class System\Helpers\CacheTraits
| Trait | Description | 
|---|---|
| Singleton | Singleton trait. | 
Methods
public static clear ()
Execute the console command.
Returns
            mixed
                public clearCache ()
Returns
            mixed
                public clearCombiner ()
Returns
            mixed
                public static clearInternal ()
Returns
            mixed
                public clearMeta ()
Returns
            mixed
                public clearTwig ()
Returns
            mixed
                inherited public __clone ()
                Inherited from
                
                    Singleton
                
            
        
        Returns
            mixed
                inherited public __wakeup ()
                Inherited from
                
                    Singleton
                
            
        
        Returns
            mixed
                
            
                            
                    inherited
                
            
            
                public
            
                            
                    static
                
                                        
                    final
                
            
            forgetInstance ($container = null)
                            : void
                    
                    
                Inherited from
                
                    Singleton
                
            
        
        Forget this singleton's instance if it exists
Parameters
                | Property | Type | Description | 
|---|---|---|
| $container | mixed | mixed | 
Returns
            void
                
            
                            
                    inherited
                
            
            
                public
            
                            
                    static
                
                                        
                    final
                
            
            instance ($container = null)
                            : static
                    
                    
                Inherited from
                
                    Singleton
                
            
        
        Create a new instance of this singleton.
Parameters
                | Property | Type | Description | 
|---|---|---|
| $container | mixed | mixed | 
Returns
            static
                inherited protected final __construct ()
                Inherited from
                
                    Singleton
                
            
        
        Constructor.
Returns
            mixed
                inherited protected init ()
                Inherited from
                
                    Singleton
                
            
        
        Initialize the singleton free from constructor parameters.
Returns
            mixed
                
    Copyright © 2025 Winter CMS