FlushInvalidatedResource
class FlushInvalidatedResource implements SelfCheckingResourceInterface, Serializable, Flushable (View source)
Some arbitrary resource which expires when flush is invoked.
Uses a canary file to mark future freshness requests as stale.
Methods
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
Details
        
                            
    __toString()
        
    
    No description
        
                            
    getResource()
        
    
    No description
        
                            
    isFresh($timestamp)
        
    
    No description
        
                            array
    __serialize()
        
    
    No description
        
                            void
    __unserialize(array $data)
        
    
    No description
        
                            string
    serialize()
        deprecated
    
    deprecated
The __serialize() magic method will be automatically used instead of this
        
                            
    unserialize(string $serialized)
        deprecated
    
    deprecated
The __unserialize() magic method will be automatically used instead of this almost all the time This method will be automatically used if existing serialized data was not saved as an associative array and the PHP version used in less than PHP 9.0
        
                static            
    flush()
        
    
    This function is triggered early in the request if the "flush" query parameter has been set. Each class that implements Flushable implements this function which looks after it's own specific flushing functionality.
        
                static    protected        string
    canary()
        
    
    Path to i18n canary
        
                static    protected        
    touch()
        
    
    Touch the canary