HttpMethodBypass
class HttpMethodBypass implements Bypass (View source)
Allows to bypass requests of a particular HTTP method
Methods
                    public                                                                            
                
                    bool
                
                                
                    checkRequestForBypass(HTTPRequest $request)
        
                                            
                
            Returns true if the current process is running in CLI mode
Details
        
                            
    __construct(string[] ...$methods)
        
    
    Initialize the bypass with HTTP methods
        
                            string[]
    getMethods()
        
    
    Returns the list of methods
        
                            
    addMethods(string[] ...$methods)
        
    
    Add new HTTP methods to the list
        
                            bool
    checkRequestForBypass(HTTPRequest $request)
        
    
    Returns true if the current process is running in CLI mode