class ScheduledFlushDiscoverer implements FlushDiscoverer (View source)

Checks the manifest cache for flush being scheduled in a previous request

Properties

protected Kernel $kernel

Active kernel

Methods

public
__construct(Kernel $kernel)

No description

protected
bool
getFlush()

Returns the flag whether the manifest flush has been scheduled in previous requests

public
null|bool
shouldFlush()

Check whether we have to flush manifest

Details

__construct(Kernel $kernel)

No description

Parameters

Kernel $kernel

protected bool getFlush()

Returns the flag whether the manifest flush has been scheduled in previous requests

Return Value

bool

unix timestamp

null|bool shouldFlush()

Check whether we have to flush manifest

The return value is either null or a bool

  • null means the discoverer does not override the default behaviour (other discoverers decision)
  • bool means the discoverer wants to force flush or prevent it (true or false respectively)

Return Value

null|bool

null if don't care or bool to force or prevent flush