diff --git a/src/Symfony/Component/Serializer/Debug/TraceableEncoder.php b/src/Symfony/Component/Serializer/Debug/TraceableEncoder.php index c2927adf914e8..9f58f2b1213c1 100644 --- a/src/Symfony/Component/Serializer/Debug/TraceableEncoder.php +++ b/src/Symfony/Component/Serializer/Debug/TraceableEncoder.php @@ -121,4 +121,12 @@ public function needsNormalization(): bool { return !$this->encoder instanceof NormalizationAwareEncoder; } + + /** + * Proxies all method calls to the original encoder. + */ + public function __call(string $method, array $arguments): mixed + { + return $this->encoder->{$method}(...$arguments); + } }
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: