mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-28 04:25:53 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -42,17 +42,17 @@ class JsonResponseFormatter extends Component implements ResponseFormatterInterf
|
||||
* JSON Content Type
|
||||
* @since 2.0.14
|
||||
*/
|
||||
const CONTENT_TYPE_JSONP = 'application/javascript; charset=UTF-8';
|
||||
public const CONTENT_TYPE_JSONP = 'application/javascript; charset=UTF-8';
|
||||
/**
|
||||
* JSONP Content Type
|
||||
* @since 2.0.14
|
||||
*/
|
||||
const CONTENT_TYPE_JSON = 'application/json; charset=UTF-8';
|
||||
public const CONTENT_TYPE_JSON = 'application/json; charset=UTF-8';
|
||||
/**
|
||||
* HAL JSON Content Type
|
||||
* @since 2.0.14
|
||||
*/
|
||||
const CONTENT_TYPE_HAL_JSON = 'application/hal+json; charset=UTF-8';
|
||||
public const CONTENT_TYPE_HAL_JSON = 'application/hal+json; charset=UTF-8';
|
||||
|
||||
/**
|
||||
* @var string|null custom value of the `Content-Type` header of the response.
|
||||
|
||||
Reference in New Issue
Block a user