summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/serialization/src/EntityResolver/ChainEntityResolverInterface.php
blob: c9191f2087a5878f421fef9137bf7c24d8655542 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php

namespace Drupal\serialization\EntityResolver;

/**
 * An interface for delegating an 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);

}