class HttpExceptionNormalizerValue
Same name and namespace in other branches
- 9 core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php \Drupal\jsonapi\Normalizer\Value\HttpExceptionNormalizerValue
- 8.9.x core/modules/jsonapi/src/Normalizer/Value/HttpExceptionNormalizerValue.php \Drupal\jsonapi\Normalizer\Value\HttpExceptionNormalizerValue
- 10 core/modules/jsonapi/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\TemporaryArrayObjectThrowingExceptions implements \Drupal\jsonapi\Normalizer\Value\ArrayObject
- class \Drupal\jsonapi\Normalizer\Value\CacheableNormalization extends \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\Cache\CacheableDependencyTrait implements \Drupal\jsonapi\Normalizer\Value\TemporaryArrayObjectThrowingExceptions
- class \Drupal\jsonapi\Normalizer\Value\HttpExceptionNormalizerValue implements \Drupal\jsonapi\Normalizer\Value\CacheableNormalization
- class \Drupal\jsonapi\Normalizer\Value\CacheableNormalization extends \Drupal\Core\Cache\CacheableDependencyInterface uses \Drupal\Core\Cache\CacheableDependencyTrait implements \Drupal\jsonapi\Normalizer\Value\TemporaryArrayObjectThrowingExceptions
Expanded class hierarchy of HttpExceptionNormalizerValue
See also
https://www.drupal.org/project/drupal/issues/3032787
1 file declares its use of HttpExceptionNormalizerValue
- HttpExceptionNormalizer.php in core/
modules/ jsonapi/ src/ Normalizer/ HttpExceptionNormalizer.php
File
-
core/
modules/ jsonapi/ src/ Normalizer/ Value/ HttpExceptionNormalizerValue.php, line 14
Namespace
Drupal\jsonapi\Normalizer\ValueView source
class HttpExceptionNormalizerValue extends CacheableNormalization {
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
CacheableDependencyTrait::$cacheContexts | protected | property | Cache contexts. | |
CacheableDependencyTrait::$cacheMaxAge | protected | property | Cache max-age. | |
CacheableDependencyTrait::$cacheTags | protected | property | Cache tags. | |
CacheableDependencyTrait::getCacheContexts | public | function | 4 | |
CacheableDependencyTrait::getCacheMaxAge | public | function | 4 | |
CacheableDependencyTrait::getCacheTags | public | function | 4 | |
CacheableDependencyTrait::setCacheability | protected | function | Sets cacheability; useful for value object constructors. | |
CacheableNormalization::$normalization | protected | property | A normalized value. | |
CacheableNormalization::aggregate | public static | function | Collects an array of CacheableNormalizations into a single instance. | |
CacheableNormalization::getNormalization | public | function | Gets the decorated normalization. | 1 |
CacheableNormalization::hasNoNestedInstances | protected static | function | Ensures that no nested values are instances of this class. | |
CacheableNormalization::omitIfEmpty | public | function | Converts the object to a CacheableOmission if the normalization is empty. | |
CacheableNormalization::permanent | public static | function | Creates a CacheableNormalization instance without any special cacheability. | 1 |
CacheableNormalization::withCacheableDependency | public | function | Gets a new CacheableNormalization with an additional dependency. | |
CacheableNormalization::__construct | public | function | CacheableNormalization constructor. | 1 |
TemporaryArrayObjectThrowingExceptions::append | public | function | Append a value to the ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::asort | public | function | Sort the ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::count | public | function | Count the ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::exchangeArray | public | function | Exchange the current array with another array or object. | |
TemporaryArrayObjectThrowingExceptions::getArrayCopy | public | function | Exports the \ArrayObject to an array. | |
TemporaryArrayObjectThrowingExceptions::getFlags | public | function | Gets the behavior flags of the \ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::getIterator | public | function | Create a new iterator from an ArrayObject instance. | |
TemporaryArrayObjectThrowingExceptions::getIteratorClass | public | function | Gets the class name of the iterator used by \ArrayObject::getIterator(). | |
TemporaryArrayObjectThrowingExceptions::ksort | public | function | Sort the entries by key. | |
TemporaryArrayObjectThrowingExceptions::natcasesort | public | function | Sort an array using a case insensitive "natural order" algorithm. | |
TemporaryArrayObjectThrowingExceptions::natsort | public | function | Sort entries using a "natural order" algorithm. | |
TemporaryArrayObjectThrowingExceptions::offsetExists | public | function | Returns whether the requested index exists. | |
TemporaryArrayObjectThrowingExceptions::offsetGet | public | function | Returns the value at the specified index. | |
TemporaryArrayObjectThrowingExceptions::offsetSet | public | function | Sets the value at the specified index to new value. | |
TemporaryArrayObjectThrowingExceptions::offsetUnset | public | function | Unsets the value at the specified index. | |
TemporaryArrayObjectThrowingExceptions::setFlags | public | function | Sets the behavior flags for the \ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::setIteratorClass | public | function | Sets the iterator classname for the \ArrayObject. | |
TemporaryArrayObjectThrowingExceptions::uasort | public | function | Sort the entries with a user-defined comparison function. | |
TemporaryArrayObjectThrowingExceptions::uksort | public | function | Sort the entries by keys using a user-defined comparison function. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.