view core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
<?php

namespace Drupal\serialization\EntityResolver;

/**
 * An interface for delegating a entity resolution to a chain of resolvers.
 */
interface ChainEntityResolverInterface extends EntityResolverInterface {

  /**
   * Adds an entity resolver.
   *
   * @param \Drupal\serialization\EntityResolver\EntityResolverInterface $resolver
   *   The entity resolver to add.
   */
  public function addResolver(EntityResolverInterface $resolver);

}