You are here

protected property EntityResource::$serializer in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/Controller/EntityResource.php \Drupal\jsonapi\Controller\EntityResource::serializer

The JSON:API serializer.

Type: \Symfony\Component\Serializer\SerializerInterface|\Symfony\Component\Serializer\Normalizer\DenormalizerInterface

File

core/modules/jsonapi/src/Controller/EntityResource.php, line 136

Class

EntityResource
Process all entity requests.

Namespace

Drupal\jsonapi\Controller

Code

protected $serializer;