class PurchaseCreditsController extends AbstractController

PurchaseCredits Controller class

Properties

private PurchaseCreditsPaymentInterface $purchaseCreditsPayment Stores PurchaseCreditsPaymentInterface
private PurchaseCreditsServiceInterface $purchaseCreditsService Stores PurchaseCreditsServiceInterface
private ServiceToolsInterface $serviceTools Stores ServiceToolsInterface

Methods

__construct(PurchaseCreditsPaymentInterface $purchaseCreditsPayment, PurchaseCreditsServiceInterface $purchaseCreditsService, ServiceToolsInterface $serviceTools)

No description

Response
dashboard()

Displays the dashboard for PurchaseCredits

Response
config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

Response
purchaseCredits(Request $request, ConfigServiceInterface $configService, $credits)

Displays the form to purchase credits

Details

at line 45
__construct(PurchaseCreditsPaymentInterface $purchaseCreditsPayment, PurchaseCreditsServiceInterface $purchaseCreditsService, ServiceToolsInterface $serviceTools)

Parameters

PurchaseCreditsPaymentInterface $purchaseCreditsPayment
PurchaseCreditsServiceInterface $purchaseCreditsService
ServiceToolsInterface $serviceTools

at line 66
Response dashboard()

Displays the dashboard for PurchaseCredits

Return Value

Response

Exceptions

AccessDeniedException

at line 84
Response config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

Parameters

Request $request
ConfigServiceInterface $configService

Return Value

Response

Exceptions

AccessDeniedException

at line 119
Response purchaseCredits(Request $request, ConfigServiceInterface $configService, $credits)

Displays the form to purchase credits

Parameters

Request $request
ConfigServiceInterface $configService
$credits

Return Value

Response

Exceptions

AccessDeniedException