class HttpExceptionNormalizerValue in JSON:API 8.2
Same name and namespace in other branches
- 8 src/Normalizer/Value/HttpExceptionNormalizerValue.php \Drupal\jsonapi\Normalizer\Value\HttpExceptionNormalizerValue
Helps normalize exceptions in compliance with the JSON:API spec.
@internal JSON:API maintains no PHP API since its API is the HTTP API. This class may change at any time and this will break any dependencies on it.
Hierarchy
- class \Drupal\jsonapi\Normalizer\Value\CacheableNormalization implements CacheableDependencyInterface uses CacheableDependencyTrait
- class \Drupal\jsonapi\Normalizer\Value\HttpExceptionNormalizerValue
Expanded class hierarchy of HttpExceptionNormalizerValue
See also
https://www.drupal.org/project/jsonapi/issues/3032787
1 file declares its use of HttpExceptionNormalizerValue
- HttpExceptionNormalizer.php in src/
Normalizer/ HttpExceptionNormalizer.php
File
- src/
Normalizer/ Value/ HttpExceptionNormalizerValue.php, line 14
Namespace
Drupal\jsonapi\Normalizer\ValueView source
class HttpExceptionNormalizerValue extends CacheableNormalization {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CacheableDependencyTrait:: |
protected | property | Cache contexts. | |
CacheableDependencyTrait:: |
protected | property | Cache max-age. | |
CacheableDependencyTrait:: |
protected | property | Cache tags. | |
CacheableDependencyTrait:: |
public | function | 3 | |
CacheableDependencyTrait:: |
public | function | 3 | |
CacheableDependencyTrait:: |
public | function | 3 | |
CacheableDependencyTrait:: |
protected | function | Sets cacheability; useful for value object constructors. | |
CacheableNormalization:: |
protected | property | A normalized value. | |
CacheableNormalization:: |
public static | function | Collects an array of CacheableNormalizations into a single instance. | |
CacheableNormalization:: |
public | function | Gets the decorated normalization. | 1 |
CacheableNormalization:: |
protected static | function | Ensures that no nested values are instances of this class. | |
CacheableNormalization:: |
public | function | Converts the object to a CacheableOmission if the normalization is empty. | |
CacheableNormalization:: |
public static | function | Creates a CacheableNormalization instance without any special cacheability. | 1 |
CacheableNormalization:: |
public | function | Gets a new CacheableNormalization with an additional dependency. | |
CacheableNormalization:: |
public | function | CacheableNormalization constructor. | 1 |