You are here

public function BasicDeriver::__construct in Payment 8.2

Constructs a new instance.

File

src/Plugin/Payment/Method/BasicDeriver.php, line 35

Class

BasicDeriver
Derives payment method plugin definitions based on configuration entities.

Namespace

Drupal\payment\Plugin\Payment\Method

Code

public function __construct(EntityStorageInterface $payment_method_configuration_storage, PaymentMethodConfigurationManagerInterface $payment_method_configuration_manager) {
  $this->paymentMethodConfigurationStorage = $payment_method_configuration_storage;
  $this->paymentMethodConfigurationManager = $payment_method_configuration_manager;
}