ResourceTestBase::$serializer

The serializer service.

Type: \Symfony\Component\Serializer\Serializer

File

core/modules/jsonapi/tests/src/Functional/ResourceTestBase.php, line 214

Class

ResourceTestBase
Subclass this for every JSON:API resource type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected $serializer;

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