IPropagator
in
Propagate ETags and mtimes within the storage.
Tags
Attributes
- #[Consumable]
- $since: '9.0.0'
Table of Contents
Methods
- beginBatch() : void
- Mark the beginning of a propagation batch.
- commitBatch() : void
- Commit the active propagation batch.
- propagateChange() : void
Methods
beginBatch()
Mark the beginning of a propagation batch.
public
beginBatch() : void
Note that not all cache setups support propagation in which case this will be a noop
Batching for cache setups that do support it has to be explicit since the cache state is not fully consistent before the batch is committed.
Tags
commitBatch()
Commit the active propagation batch.
public
commitBatch() : void
Tags
propagateChange()
public
propagateChange(string $internalPath, int $time[, int $sizeDifference = 0 ]) : void
Parameters
- $internalPath : string
- $time : int
- $sizeDifference : int = 0
-
The number of bytes the file has grown.