public function ChainLocaleResolver::__construct in Price 8
Same name and namespace in other branches
- 3.x src/Resolver/ChainLocaleResolver.php \Drupal\price\Resolver\ChainLocaleResolver::__construct()
- 2.0.x src/Resolver/ChainLocaleResolver.php \Drupal\price\Resolver\ChainLocaleResolver::__construct()
- 2.x src/Resolver/ChainLocaleResolver.php \Drupal\price\Resolver\ChainLocaleResolver::__construct()
- 3.0.x src/Resolver/ChainLocaleResolver.php \Drupal\price\Resolver\ChainLocaleResolver::__construct()
Constructs a new ChainLocaleResolver object.
Parameters
\Drupal\price\Resolver\LocaleResolverInterface[] $resolvers: The resolvers.
File
- src/
Resolver/ ChainLocaleResolver.php, line 23
Class
- ChainLocaleResolver
- Default implementation of the chain locale resolver.
Namespace
Drupal\price\ResolverCode
public function __construct(array $resolvers = []) {
$this->resolvers = $resolvers;
}