HttpExceptionNormalizer::$supportedInterfaceOrClass

Same name in other branches
  1. 9 core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php \Drupal\jsonapi\Normalizer\HttpExceptionNormalizer::supportedInterfaceOrClass

The interface or class that this Normalizer supports.

Type: string

Overrides NormalizerBase::$supportedInterfaceOrClass

File

core/modules/jsonapi/src/Normalizer/HttpExceptionNormalizer.php, line 29

Class

HttpExceptionNormalizer
Normalizes an HttpException in compliance with the JSON:API specification.

Namespace

Drupal\jsonapi\Normalizer

Code

protected $supportedInterfaceOrClass = HttpException::class;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.