Constructor.
Parameters
array $resolvers:
The array of concrete resolvers.
File
- drupal/core/modules/serialization/lib/Drupal/serialization/EntityResolver/ChainEntityResolver.php, line 30
- Contains \Drupal\serialization\EntityResolver\ChainEntityResolver
Class
- ChainEntityResolver
- Resolver delegating the entity resolution to a chain of resolvers.
Namespace
Drupal\serialization\EntityResolver
Code
public function __construct(array $resolvers = array()) {
$this->resolvers = $resolvers;
}