0

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 Yiisoft\Yii\Http\Event\AfterEmit

Property Details

Hide inherited properties

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

Method Details

Hide inherited methods

__construct() public method

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

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

            
getResponse() public method
Deprecated Use readonly property instead.

public ?\Psr\Http\Message\ResponseInterface getResponse ( )

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