ResourceResponseSubscriber::$serializer

The serializer.

Type: \Symfony\Component\Serializer\SerializerInterface

File

core/modules/jsonapi/src/EventSubscriber/ResourceResponseSubscriber.php, line 46

Class

ResourceResponseSubscriber
Response subscriber that serializes and removes ResourceResponses' data.

Namespace

Drupal\jsonapi\EventSubscriber

Code

protected $serializer;

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