public function ChainTaxRateResolver::addResolver in Commerce Core 8.2
Adds a resolver.
Parameters
\Drupal\commerce_tax\Resolver\TaxRateResolverInterface $resolver: The resolver.
Overrides ChainTaxRateResolverInterface::addResolver
File
- modules/
tax/ src/ Resolver/ ChainTaxRateResolver.php, line 33
Class
Namespace
Drupal\commerce_tax\ResolverCode
public function addResolver(TaxRateResolverInterface $resolver) {
$this->resolvers[] = $resolver;
}