filters\ContentNegotiator $formats

$formats public property

List of supported response formats. The keys are MIME types (e.g. application/json) while the values are the corresponding formats (e.g. html, json) which must be supported as declared in yii\web\Response::$formatters.

If this property is empty or not set, response format negotiation will be skipped.

public array $formats = null
doc_Yii
2016-10-30 17:02:32
Comments
Leave a Comment

Please login to continue.