Final Class Yiisoft\Yii\Http\Event\AfterRequest
| Inheritance | Yiisoft\ |
|---|
Public Properties
| Property | Type | Description | Defined By |
|---|---|---|---|
| $response | ?\ |
Yiisoft\ |
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
|
| getResponse() | Yiisoft\ |
Property Details
Method Details
| public mixed __construct ( \ | ||
| $response | \ |
Response instance or null if response generation failed due to an error. |
public function __construct(
public readonly ?ResponseInterface $response,
) {}
Deprecated
Use readonly property instead.
| public ?\ |
public function getResponse(): ?ResponseInterface
{
return $this->response;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.