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