class PurchaseCreditsFormFactory implements PurchaseCreditsFormFactoryInterface

PurchaseCreditsFormFactory class

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private FormFactoryInterface $formFactory Stores FormFactoryInterface

Methods

__construct(ConfigServiceInterface $configService, FormFactoryInterface $formFactory)

No description

Form
create(string $name, PurchaseCredits $purchaseCredits, int $credits, array $priceChoices)

Returns the defined form

Details

at line 35
__construct(ConfigServiceInterface $configService, FormFactoryInterface $formFactory)

Parameters

ConfigServiceInterface $configService
FormFactoryInterface $formFactory

at line 47
Form create(string $name, PurchaseCredits $purchaseCredits, int $credits, array $priceChoices)

Returns the defined form

Parameters

string $name
PurchaseCredits $purchaseCredits
int $credits
array $priceChoices

Return Value

Form