public function PaymentReferenceForm::__construct in Commerce PayPal 8
Constructs a new PaymentReferenceForm object.
Parameters
\CommerceGuys\Intl\Formatter\CurrencyFormatterInterface $currency_formatter: Currency formatter service.
File
- src/
PluginForm/ PaymentReferenceForm.php, line 32
Class
- PaymentReferenceForm
- Class PaymentReferenceForm.
Namespace
Drupal\commerce_paypal\PluginFormCode
public function __construct(CurrencyFormatterInterface $currency_formatter) {
$this->currencyFormatter = $currency_formatter;
}