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

Breadcrumb

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

function SerializerDataCollector::collectDecode

File

vendor/symfony/serializer/DataCollector/SerializerDataCollector.php, line 138

Class

SerializerDataCollector
@author Mathias Arlaud <mathias.arlaud@gmail.com>

Namespace

Symfony\Component\Serializer\DataCollector

Code

public function collectDecode(string $traceId, mixed $data, ?string $format, array $context, float $time, array $caller, string $name) : void {
    unset($context[TraceableSerializer::DEBUG_TRACE_ID]);
    $this->collected[$traceId] = array_merge($this->collected[$traceId] ?? [], compact('data', 'format', 'context', 'time', 'caller', 'name'), [
        'method' => 'decode',
    ]);
}

API Navigation

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