class FlushInvalidatedResource implements SelfCheckingResourceInterface, Flushable (View source)

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

bool
isFresh(int $timestamp)

No description

array
__serialize()

No description

void
__unserialize(array $data)

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

__toString()

getResource()

bool isFresh(int $timestamp)

Parameters

int $timestamp

Return Value

bool

array __serialize()

Return Value

array

void __unserialize(array $data)

Parameters

array $data

Return Value

void

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.