You are here

protected property ResourceResponseSubscriber::$serializer in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/EventSubscriber/ResourceResponseSubscriber.php \Drupal\jsonapi\EventSubscriber\ResourceResponseSubscriber::serializer

The serializer.

Type: \Symfony\Component\Serializer\SerializerInterface

File

src/EventSubscriber/ResourceResponseSubscriber.php, line 42

Class

ResourceResponseSubscriber
Response subscriber that serializes and removes ResourceResponses' data.

Namespace

Drupal\jsonapi\EventSubscriber

Code

protected $serializer;