class AvailableController extends AbstractController

GiftVoucherAvailable Controller class

Properties

private GiftVoucherAvailableServiceInterface $giftVoucherAvailableService Stores GiftVoucherAvailableService
private GiftVoucherPurchasedServiceInterface $giftVoucherPurchasedService Stores GiftVoucherPurchasedService
private ServiceSlugInterface $serviceSlug Stores ServiceSlugInterface

Methods

__construct(GiftVoucherAvailableServiceInterface $giftVoucherAvailableService, GiftVoucherPurchasedServiceInterface $giftVoucherPurchasedService, ServiceSlugInterface $serviceSlug)

No description

Response
dashboard(Request $request, PaginatorInterface $paginator)

Displays the dashboard

Response
display(GiftVoucherAvailable $giftVoucherAvailable)

Displays the GiftVoucherAvailable

Response
create(Request $request)

Creates a GiftVoucherAvailable

Response
modify(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Modifies the GiftVoucherAvailable using its unique id

Response
duplicate(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Duplicates the GiftVoucherAvailable using its unique id

Response
delete(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Deletes the GiftVoucherAvailable using its unique id

Response
config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

JsonResponse
slug($text)

Returns the slug corresponding to the text provided

Response
help()

Displays the help

Details

at line 49
__construct(GiftVoucherAvailableServiceInterface $giftVoucherAvailableService, GiftVoucherPurchasedServiceInterface $giftVoucherPurchasedService, ServiceSlugInterface $serviceSlug)

Parameters

GiftVoucherAvailableServiceInterface $giftVoucherAvailableService
GiftVoucherPurchasedServiceInterface $giftVoucherPurchasedService
ServiceSlugInterface $serviceSlug

at line 70
Response dashboard(Request $request, PaginatorInterface $paginator)

Displays the dashboard

Parameters

Request $request
PaginatorInterface $paginator

Return Value

Response

Exceptions

AccessDeniedException

at line 108
Response display(GiftVoucherAvailable $giftVoucherAvailable)

Displays the GiftVoucherAvailable

Parameters

GiftVoucherAvailable $giftVoucherAvailable

Return Value

Response

Exceptions

NotFoundHttpException
AccessDeniedException

at line 128
Response create(Request $request)

Creates a GiftVoucherAvailable

Parameters

Request $request

Return Value

Response

Exceptions

AccessDeniedException

at line 165
Response modify(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Modifies the GiftVoucherAvailable using its unique id

Parameters

Request $request
GiftVoucherAvailable $giftVoucherAvailable

Return Value

Response

Exceptions

AccessDeniedException
NotFoundHttpException

at line 202
Response duplicate(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Duplicates the GiftVoucherAvailable using its unique id

Parameters

Request $request
GiftVoucherAvailable $giftVoucherAvailable

Return Value

Response

Exceptions

AccessDeniedException
NotFoundHttpException

at line 241
Response delete(Request $request, GiftVoucherAvailable $giftVoucherAvailable)

Deletes the GiftVoucherAvailable using its unique id

Parameters

Request $request
GiftVoucherAvailable $giftVoucherAvailable

Return Value

Response

Exceptions

AccessDeniedException
NotFoundHttpException

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

Displays the configuration

Parameters

Request $request
ConfigServiceInterface $configService

Return Value

Response

Exceptions

AccessDeniedException

at line 308
JsonResponse slug($text)

Returns the slug corresponding to the text provided

Parameters

$text

Return Value

JsonResponse

Exceptions

AccessDeniedException

at line 325
Response help()

Displays the help

Return Value

Response

Exceptions

AccessDeniedException