You are here

public property RestResource::$serialization_class in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::serialization_class
  2. 10 core/modules/rest/src/Annotation/RestResource.php \Drupal\rest\Annotation\RestResource::serialization_class

The serialization class to deserialize serialized data into.

Type: string (optional)

See also

\Symfony\Component\Serializer\SerializerInterface's "type" parameter.

File

core/modules/rest/src/Annotation/RestResource.php, line 48

Class

RestResource
Defines a REST resource annotation object.

Namespace

Drupal\rest\Annotation

Code

public $serialization_class;