IUpdater
Update the cache and propagate changes
Tags
Table of Contents
- getPropagator() : IPropagator
 - Get the propagator for etags and mtime for the view the updater works on
 - propagate() : mixed
 - Propagate etag and mtime changes for the parent folders of $path up to the root of the filesystem
 - remove() : mixed
 - Remove $path from the cache and update the size, etag and mtime of the parent folders
 - renameFromStorage() : mixed
 - Rename a file or folder in the cache and update the size, etag and mtime of the parent folders
 - update() : mixed
 - Update the cache for $path and update the size, etag and mtime of the parent folders
 
Methods
getPropagator()
Get the propagator for etags and mtime for the view the updater works on
    public
                getPropagator() : IPropagator
    
    
    
    Tags
Return values
IPropagator —propagate()
Propagate etag and mtime changes for the parent folders of $path up to the root of the filesystem
    public
                propagate(string $path[, int|null $time = null ]) : mixed
    
        Parameters
- $path : string
 - 
                    
the path of the file to propagate the changes for
 - $time : int|null = null
 - 
                    
the timestamp to set as mtime for the parent folders, if left out the current time is used
 
Tags
Return values
mixed —remove()
Remove $path from the cache and update the size, etag and mtime of the parent folders
    public
                remove(string $path) : mixed
    
        Parameters
- $path : string
 
Tags
Return values
mixed —renameFromStorage()
Rename a file or folder in the cache and update the size, etag and mtime of the parent folders
    public
                renameFromStorage(IStorage $sourceStorage, string $source, string $target) : mixed
    
        Parameters
- $sourceStorage : IStorage
 - $source : string
 - $target : string
 
Tags
Return values
mixed —update()
Update the cache for $path and update the size, etag and mtime of the parent folders
    public
                update(string $path[, int $time = null ]) : mixed
    
        Parameters
- $path : string
 - $time : int = null