ValueExtractorInterface.php in JSON:API 8
Namespace
Drupal\jsonapi\Normalizer\ValueFile
src/Normalizer/Value/ValueExtractorInterface.phpView source
<?php
namespace Drupal\jsonapi\Normalizer\Value;
/**
* Interface for value objects used in the JSON API normalization process.
*
* @internal
*/
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();
}
Interfaces
Name | Description |
---|---|
ValueExtractorInterface | Interface for value objects used in the JSON API normalization process. |