Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. JsonResponse.php

function JsonResponse::getEncodingOptions

Returns options used while encoding data to JSON.

File

vendor/symfony/http-foundation/JsonResponse.php, line 148

Class

JsonResponse
Response represents an HTTP response in JSON format.

Namespace

Symfony\Component\HttpFoundation

Code

public function getEncodingOptions() : int {
    return $this->encodingOptions;
}
RSS feed
Powered by Drupal