CodeExplorer buildTaxes example
return;
} $taxProviders =
$this->
getTaxProviders($context);
if ($taxProviders->
count() === 0
) { return;
} $exceptions =
new TaxProviderExceptions();
$result =
$this->
buildTaxes( $taxProviders,
$cart,
$context,
$exceptions );
if (!
$result) { $this->logger->
error($exceptions->
getMessage(),
['error' =>
$exceptions]);
throw $exceptions;
}