You are here

interface ResourceObjectToEntityMapperAwareInterface in JSON:API Resources 8

Interface indicating that the resource object mapper should be injected.

@internal

Hierarchy

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\Entity
View 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