protected property ResourceResponseSubscriber::$serializer in Drupal 9
Same name in this branch
- 9 core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php \Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber::serializer
- 9 core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php \Drupal\rest\EventSubscriber\ResourceResponseSubscriber::serializer
Same name and namespace in other branches
- 8 core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php \Drupal\rest\EventSubscriber\ResourceResponseSubscriber::serializer
- 10 core/modules/rest/src/EventSubscriber/ResourceResponseSubscriber.php \Drupal\rest\EventSubscriber\ResourceResponseSubscriber::serializer
The serializer.
Type: \Symfony\Component\Serializer\SerializerInterface
File
- core/
modules/ rest/ src/ EventSubscriber/ ResourceResponseSubscriber.php, line 29
Class
- ResourceResponseSubscriber
- Response subscriber that serializes and removes ResourceResponses' data.
Namespace
Drupal\rest\EventSubscriberCode
protected $serializer;