You are here

public function CacheableOmission::getNormalization in JSON:API 8.2

A CacheableOmission should never have its normalization retrieved.

Overrides CacheableNormalization::getNormalization

File

src/Normalizer/Value/CacheableOmission.php, line 42

Class

CacheableOmission
Represents the cacheability associated with the omission of a value.

Namespace

Drupal\jsonapi\Normalizer\Value

Code

public function getNormalization() {
  throw new \LogicException('A CacheableOmission should never have its normalization retrieved.');
}