setEncodingOptions($encodingOptions) {@inheritdoc} Parameters $encodingOptions
setData($data = array()) {@inheritdoc} Parameters $data
$this header(string $key, array|string $values, bool $replace = true) Set a header on the Response. Parameters string $key array|string $values bool $replace Return Value $this
int getJsonOptions() Get the JSON encoding options. Return Value int
mixed getData(bool $assoc = false, int $depth = 512) Get the json_decoded data from the response. Parameters bool $assoc int $depth Return Value mixed
$this cookie(Cookie|mixed $cookie) Add a cookie to the response. Parameters Cookie|mixed $cookie Return Value $this
string content() Get the content of the response. Return Value string
JsonResponse class JsonResponse extends JsonResponse (View source) Traits ResponseTrait
string __toString() Get the value of the expression. Return Value string
void __construct(mixed $value) Create a new raw query expression. Parameters mixed $value Return Value void
Page 555 of 996