prepare() protected method
Prepares for sending the response.
The default implementation will convert $data into $content and set headers accordingly.
protected void prepare ( ) | ||
---|---|---|
throws | yii\base\InvalidConfigException |
if the formatter for the specified format is invalid or $format is not supported |
Please login to continue.