interface ResourceObjectToEntityMapperAwareInterface in JSON:API Resources 8
Interface indicating that the resource object mapper should be injected.
@internal
Hierarchy
- interface \Drupal\jsonapi_resources\Unstable\Entity\ResourceObjectToEntityMapperAwareInterface
Expanded class hierarchy of ResourceObjectToEntityMapperAwareInterface
All classes that implement ResourceObjectToEntityMapperAwareInterface
2 files declare their use of ResourceObjectToEntityMapperAwareInterface
- EntityResourceBase.php in src/
Resource/ EntityResourceBase.php - JsonapiResourceClassResolver.php in src/
Unstable/ DependencyInjection/ JsonapiResourceClassResolver.php
File
- src/
Unstable/ Entity/ ResourceObjectToEntityMapperAwareInterface.php, line 10
Namespace
Drupal\jsonapi_resources\Unstable\EntityView source
interface ResourceObjectToEntityMapperAwareInterface {
/**
* Sets the resource object to entity mapper.
*
* @param \Drupal\jsonapi_resources\Unstable\Entity\ResourceObjectToEntityMapper $mapper
* The mapper.
*/
public function setResourceObjectToEntityMapper(ResourceObjectToEntityMapper $mapper);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
ResourceObjectToEntityMapperAwareInterface:: |
public | function | Sets the resource object to entity mapper. |