Zend Framework  3.0
Public Member Functions | List of all members
SapiEmitter Class Reference

Public Member Functions

 emit (ResponseInterface $response, $maxBufferLevel=null)
 Emits a response for a PHP SAPI environment.
 
- Public Member Functions inherited from EmitterInterface
 emit (ResponseInterface $response)
 Emit a response.
 

Member Function Documentation

emit ( ResponseInterface  $response,
  $maxBufferLevel = null 
)

Emits a response for a PHP SAPI environment.

Emits the status line and headers via the header() function, and the body content via the output buffer.

Parameters
ResponseInterface$response
null | int$maxBufferLevelMaximum output buffering level to unwrap.