interface EmitterInterface in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-diactoros/src/Response/EmitterInterface.php \Zend\Diactoros\Response\EmitterInterface
Hierarchy
- interface \Zend\Diactoros\Response\EmitterInterface
Expanded class hierarchy of EmitterInterface
All classes that implement EmitterInterface
File
- vendor/
zendframework/ zend-diactoros/ src/ Response/ EmitterInterface.php, line 14
Namespace
Zend\Diactoros\ResponseView source
interface EmitterInterface {
/**
* Emit a response.
*
* Emits a response, including status line, headers, and the message body,
* according to the environment.
*
* Implementations of this method may be written in such a way as to have
* side effects, such as usage of header() or pushing output to the
* output buffer.
*
* Implementations MAY raise exceptions if they are unable to emit the
* response; e.g., if headers have already been sent.
*
* @param ResponseInterface $response
*/
public function emit(ResponseInterface $response);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmitterInterface:: |
public | function | Emit a response. | 1 |