field; } public function getAttributes($resource, ContextInterface $context): iterable { return [ 'description' => $resource->description, 'value' => $resource->value, ]; } public function getRelationships($resource, ContextInterface $context): iterable { return []; } /** * @inheritdoc */ public function getLinks($resource): iterable { return []; } }