FlushInvalidatedResource
class FlushInvalidatedResource implements SelfCheckingResourceInterface, Serializable, Flushable
Some arbitrary resource which expires when flush is invoked.
Uses a canary file to mark future freshness requests as stale.
Methods
__toString()
No description
getResource()
No description
isFresh($timestamp)
No description
serialize()
No description
unserialize($serialized)
No description
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.
Details
at line 19
__toString()
at line 24
getResource()
at line 30
isFresh($timestamp)
at line 43
serialize()
at line 48
unserialize($serialized)
at line 53
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.