interface
    FileTextCache        (View source)
        
    
        
            
        
    
            
    
            Methods
            
                    
                                
                    public                                                                            
                
                    
                
                                
                    save(
File $file, string $content)
        
                                            
Save extracted content for a given File entity
                 
                
             
                    
                                
                    public                                                                            
                
                    
                
                                
                    load(
File $file)
        
                                            
Return any cached extracted content for a given file entity
                 
                
             
                    
             
        Details
            
                    
                    
        
                            
    save(File $file, string $content)
        
    
        
    
            
        
                            Save extracted content for a given File entity
                        
         
        
     
             
                    
                    
        
    
            
        
                            Return any cached extracted content for a given file entity
                        
         
        
     
             
                    
                    
        
    
            
        
                            Invalidate the cache for a given file.
                Invoked in onBeforeWrite on the file