public function SerializerDecorator::encode in JSON:API Extras 8.3
File
- src/
SerializerDecorator.php, line 94
Class
- SerializerDecorator
- A decorated JSON:API serializer, with lazily initialized fallback serializer.
Namespace
Drupal\jsonapi_extrasCode
public function encode($data, $format, array $context = []) {
return $this
->relay(__FUNCTION__, func_get_args());
}