Interface Yiisoft\PsrEmitter\EmitterInterface
| Implemented by | Yiisoft\ |
|---|
EmitterInterface is responsible for sending HTTP responses.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| emit() | Sends the response to the client with headers and body. | Yiisoft\ |
Method Details
Sends the response to the client with headers and body.
| public abstract void emit ( \ | ||
| $response | \ |
Response object to send. |
| throws | Yiisoft\ |
If headers have already been sent. |
|---|---|---|
public function emit(ResponseInterface $response): void;
User Contributed Notes
Leave a comment
Join the conversation to share a note.