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\EventSubscriber

Code

protected $serializer;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.