0 follower

Final Class Yiisoft\Yii\Http\Event\AfterEmit

InheritanceYiisoft\Yii\Http\Event\AfterEmit

Public Properties

Hide inherited properties

Property Type Description Defined By
$response \Psr\Http\Message\ResponseInterface|null Yiisoft\Yii\Http\Event\AfterEmit

Property Details

Hide inherited properties

$response public property
public \Psr\Http\Message\ResponseInterface|null $response null

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( \Psr\Http\Message\ResponseInterface|null $response )
$response \Psr\Http\Message\ResponseInterface|null

                public function __construct(
    public readonly ResponseInterface|null $response,
) {
}

            
getResponse() public method
Deprecated Use readonly property instead.

public \Psr\Http\Message\ResponseInterface|null getResponse ( )

                public function getResponse(): ?ResponseInterface
{
    return $this->response;
}