class ContactFormController extends AbstractController

Main Controller class

Properties

private EventDispatcherInterface $dispatcher Stores EventDispatcherInterface
private ContactFormServiceInterface $contactFormService Stores ContactFormServiceInterface

Methods

__construct(EventDispatcherInterface $dispatcher, ContactFormServiceInterface $contactFormService)

No description

dashboard()

No description

Response
display(Request $request, ConfigServiceInterface $configService)

Displays ContactForm and handles its submission

Response
config(Request $request, ConfigServiceInterface $configService)

Displays the configuration

Details

at line 40
__construct(EventDispatcherInterface $dispatcher, ContactFormServiceInterface $contactFormService)

Parameters

EventDispatcherInterface $dispatcher
ContactFormServiceInterface $contactFormService

at line 60
dashboard()

at line 77
Response display(Request $request, ConfigServiceInterface $configService)

Displays ContactForm and handles its submission

Parameters

Request $request
ConfigServiceInterface $configService

Return Value

Response

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

Displays the configuration

Parameters

Request $request
ConfigServiceInterface $configService

Return Value

Response

Exceptions

AccessDeniedException