CallbackFlushDiscoverer
class CallbackFlushDiscoverer implements FlushDiscoverer
Handle a callable object as a discoverer
Methods
__construct(callable $callback)
Construct the discoverer from a callback
null|bool
shouldFlush()
Check whether we have to flush manifest
Details
at line 22
__construct(callable $callback)
Construct the discoverer from a callback
at line 27
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)