protected function getNormalizer($manager) { if ($this->normalizer === null) { return $manager->normalizer; } else { return $this->normalizer; } }