StreamRequestFactoryInterface
                
            in
            
        
    
        
            Interface used for creating streams from requests
Table of Contents
Methods
- fromRequest() : StreamInterface
- Create a stream based on a request object
Methods
fromRequest()
Create a stream based on a request object
    public
                    fromRequest(RequestInterface $request[, array<string|int, mixed>|resource $context = array() ][, array<string|int, mixed> $params = array() ]) : StreamInterface
    Parameters
- $request : RequestInterface
- 
                    Base the stream on a request 
- $context : array<string|int, mixed>|resource = array()
- 
                    A stream_context_options resource or array of parameters used to create a stream context. 
- $params : array<string|int, mixed> = array()
- 
                    Optional array of parameters specific to the factory 
Tags
Return values
StreamInterface —Returns a stream object