You are here

public function ChainTaxRateResolver::__construct in Commerce Core 8.2

Constructs a new ChainTaxRateResolver object.

Parameters

\Drupal\commerce_tax\Resolver\TaxRateResolverInterface[] $resolvers: The resolvers.

File

modules/tax/src/Resolver/ChainTaxRateResolver.php, line 26

Class

ChainTaxRateResolver

Namespace

Drupal\commerce_tax\Resolver

Code

public function __construct(array $resolvers = []) {
  $this->resolvers = $resolvers;
}