You are here

public function ResourceObjectToEntityMapperAwareInterface::setResourceObjectToEntityMapper in JSON:API Resources 8

Sets the resource object to entity mapper.

Parameters

\Drupal\jsonapi_resources\Unstable\Entity\ResourceObjectToEntityMapper $mapper: The mapper.

File

src/Unstable/Entity/ResourceObjectToEntityMapperAwareInterface.php, line 18

Class

ResourceObjectToEntityMapperAwareInterface
Interface indicating that the resource object mapper should be injected.

Namespace

Drupal\jsonapi_resources\Unstable\Entity

Code

public function setResourceObjectToEntityMapper(ResourceObjectToEntityMapper $mapper);