You are here

public function OffsetPageNormalizer::supportsDenormalization in JSON:API 8

File

src/Normalizer/OffsetPageNormalizer.php, line 26

Class

OffsetPageNormalizer
The normalizer used for JSON API pagination.

Namespace

Drupal\jsonapi\Normalizer

Code

public function supportsDenormalization($data, $type, $format = NULL) {
  return $type == $this->supportedInterfaceOrClass;
}