RequestFlushDiscoverer
class RequestFlushDiscoverer implements FlushDiscoverer
The default flush discovery implementation
- if request has
flush
or URL isdev/build
- AND in CLI or DEV mode
- then flush
Methods
null|bool
shouldFlush()
Check whether we have to flush manifest
Details
at line 38
__construct(HTTPRequest $request, string $env)
Initialize it with active Request and Kernel
at line 80
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)