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

Breadcrumb

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

function TraceableNormalizer::setDenormalizer

Overrides DenormalizerAwareInterface::setDenormalizer

File

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

Class

TraceableNormalizer
Collects some data about normalization.

Namespace

Symfony\Component\Serializer\Debug

Code

public function setDenormalizer(DenormalizerInterface $denormalizer) : void {
    if (!$this->normalizer instanceof DenormalizerAwareInterface) {
        return;
    }
    $this->normalizer
        ->setDenormalizer($denormalizer);
}

API Navigation

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