You are here

public function ChainTaxCodeResolver::__construct in Drupal Commerce Connector for AvaTax 8

Constructs a new ChainTaxCodeResolver object.

Parameters

\Drupal\commerce_avatax\Resolver\TaxCodeResolverInterface[] $resolvers: The tax code resolvers.

File

src/Resolver/ChainTaxCodeResolver.php, line 25

Class

ChainTaxCodeResolver
Provides the chain tax code resolver.

Namespace

Drupal\commerce_avatax\Resolver

Code

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