interface ValueExtractorInterface in JSON:API 8
Interface for value objects used in the JSON API normalization process.
@internal
Hierarchy
- interface \Drupal\jsonapi\Normalizer\Value\ValueExtractorInterface
Expanded class hierarchy of ValueExtractorInterface
All classes that implement ValueExtractorInterface
1 file declares its use of ValueExtractorInterface
- JsonEncoder.php in src/
Encoder/ JsonEncoder.php
File
- src/
Normalizer/ Value/ ValueExtractorInterface.php, line 10
Namespace
Drupal\jsonapi\Normalizer\ValueView source
interface ValueExtractorInterface {
/**
* Get the rasterized value.
*
* @return mixed
* The value.
*/
public function rasterizeValue();
/**
* Get the includes.
*
* @return array[]
* An array of includes keyed by entity type and id pair.
*/
public function rasterizeIncludes();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ValueExtractorInterface:: |
public | function | Get the includes. | 5 |
ValueExtractorInterface:: |
public | function | Get the rasterized value. | 4 |