src/Normalizer/NormalizerBase.php
public function supportsNormalization($data, $format = NULL) {

    return in_array($format, $this->formats) && parent::supportsNormalization($data, $format);
  }
public function supportsNormalization($data, $format = NULL) {

    return in_array($format, $this->formats) && parent::supportsNormalization($data, $format);
  }
{@inheritdoc}