CallbackFlushDiscoverer
class CallbackFlushDiscoverer implements FlushDiscoverer (View source)
Handle a callable object as a discoverer
Properties
| protected | callable | $callback | Callback incapsulating the discovery logic  | 
                
Methods
Details
        
                            
    __construct(callable $callback)
        
    
    Construct the discoverer from a callback
        
                            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)