class JsonResponse extends Response

Methods

__construct($data = null, $status = 200, array $headers = [], $ignoreGroups = false)

No description

convertToJson(array $roles)

No description

Details

at line 32
__construct($data = null, $status = 200, array $headers = [], $ignoreGroups = false)

Parameters

$data
$status
array $headers
$ignoreGroups

at line 43
convertToJson(array $roles)

Parameters

array $roles