Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceableNormalizer.php

function TraceableNormalizer::setNormalizer

Overrides NormalizerAwareInterface::setNormalizer

File

vendor/symfony/serializer/Debug/TraceableNormalizer.php, line 104

Class

TraceableNormalizer
Collects some data about normalization.

Namespace

Symfony\Component\Serializer\Debug

Code

public function setNormalizer(NormalizerInterface $normalizer) : void {
    if (!$this->normalizer instanceof NormalizerAwareInterface) {
        return;
    }
    $this->normalizer
        ->setNormalizer($normalizer);
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal