class CompositeIdentifierProvider in Persistent URL 8
Hierarchy
- class \Drupal\purl\Plugin\Purl\Identifier\CompositeIdentifierProvider implements IdentifierProviderInterface
Expanded class hierarchy of CompositeIdentifierProvider
File
- src/
Plugin/ Purl/ Identifier/ CompositeIdentifierProvider.php, line 5
Namespace
Drupal\purl\Plugin\Purl\IdentifierView source
class CompositeIdentifierProvider implements IdentifierProviderInterface {
/**
* @var array|IdentifierProviderInterface[]
*/
protected $providers;
public function __construct(array $providers) {
$this->providers = $providers;
}
public function getIdentifiers() {
$identifiers = array();
foreach ($this->providers as $provider) {
$identifiers = array_merge($identifiers, $provider
->getIdentifiers());
}
return $identifiers;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CompositeIdentifierProvider:: |
protected | property | ||
CompositeIdentifierProvider:: |
public | function |
Overrides IdentifierProviderInterface:: |
|
CompositeIdentifierProvider:: |
public | function |