public function ClientFactory::__construct in Drupal Commerce Connector for AvaTax 8
Constructs a new AvaTax ClientFactory object.
Parameters
\Drupal\Core\Http\ClientFactory $client_factory: The client factory.
\Drupal\Core\Extension\ExtensionList $extension_list: The extension list.
File
- src/
ClientFactory.php, line 35
Class
- ClientFactory
- API Client factory.
Namespace
Drupal\commerce_avataxCode
public function __construct(CoreClientFactory $client_factory, ExtensionList $extension_list) {
$this->clientFactory = $client_factory;
$this->extensionList = $extension_list;
}