protected property DefaultExceptionSubscriber::$serializer in Drupal 8
Same name and namespace in other branches
- 9 core/modules/serialization/src/EventSubscriber/DefaultExceptionSubscriber.php \Drupal\serialization\EventSubscriber\DefaultExceptionSubscriber::serializer
- 10 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\EventSubscriberCode
protected $serializer;