SilverStripe\Omnipay\GatewayFieldsFactory::__construct
GatewayFieldsFactory constructor.
Signature
public function __construct([string|null
$gateway = NULL,
[array
$fieldgroups = NULL]] )
Parameters
$gateway
— object- the gateway to create fields for. @see setGateway
$fieldgroups
— array- the field-groups to create