ResponseFormatterInterface
API reference › yii › web › ResponseFormatterInterface
Implemented by 3 types
ResponseFormatterInterface specifies the interface needed to format a response before it is sent out.
Methods
Section titled “Methods”| Method | Description | Defined by |
|---|---|---|
format() abstract | Formats the specified response. | ResponseFormatterInterface |
Method details
Section titled “Method details”format()
Section titled “format() ”abstract public function format(yii\web\Response $response): mixedFormats the specified response.