You are here

public function EntityDenormalizerBase::normalize in JSON:API 8.2

File

src/Normalizer/EntityDenormalizerBase.php, line 77

Class

EntityDenormalizerBase
Converts the Drupal entity object to a JSON:API array structure.

Namespace

Drupal\jsonapi\Normalizer

Code

public function normalize($object, $format = NULL, array $context = []) {
  throw new \LogicException('This method should never be called.');
}