You are here

protected property DefaultExceptionSubscriber::$serializer in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php \Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber::serializer
  2. 9 core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php \Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber::serializer

The serializer.

Type: \Symfony\Component\Serializer\Serializer

File

core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php, line 22

Class

DefaultExceptionSubscriber
Handles default error responses in serialization formats.

Namespace

Drupal\serialization\EventSubscriber

Code

protected $serializer;