TestSessionHTTPMiddleware
class TestSessionHTTPMiddleware implements HTTPMiddleware (View source)
Sets state previously initialized through TestSessionController.
Properties
| protected | TestSessionEnvironment | $testSessionEnvironment | 
Methods
                    public                                                                            
                
                                
                
            
                                        protected                                                        
                Details
        
                            
    __construct()
        
    
    No description
        
                            HTTPResponse
    process(HTTPRequest $request, callable $delegate)
        
    
    Generate response for the given request
        
                    protected        
    loadTestState(HTTPRequest $request)
        
    
    Load test state from environment into "real" environment
        
                    protected        
    restoreTestState(HTTPRequest $request)
        
    
    No description