class ProfileController extends AbstractController

Profile Controller class

Properties

private ConfigServiceInterface $configService Stores ConfigServiceInterface
private EventDispatcherInterface $dispatcher Stores EventDispatcherInterface
private UserFormFactoryInterface $userFormFactory Stores UserFormFactoryInterface
private UserServiceInterface $userService Stores UserServiceInterface

Methods

__construct(ConfigServiceInterface $configService, EventDispatcherInterface $dispatcher, UserFormFactoryInterface $userFormFactory, UserServiceInterface $userService)

No description

Response
display()

Displays the user's profile

Response
modify(Request $request)

Displays the form to modify the profile

REsponse
delete(Request $request)

Deletes the user

Response
publicProfile($identifier)

Displays the public profile if enabled

Response
export(Request $request, $format)

Export the user's data in JSON or XML

Details

at line 51
__construct(ConfigServiceInterface $configService, EventDispatcherInterface $dispatcher, UserFormFactoryInterface $userFormFactory, UserServiceInterface $userService)

Parameters

ConfigServiceInterface $configService
EventDispatcherInterface $dispatcher
UserFormFactoryInterface $userFormFactory
UserServiceInterface $userService

at line 74
Response display()

Displays the user's profile

Return Value

Response

Exceptions

AccessDeniedException

at line 104
Response modify(Request $request)

Displays the form to modify the profile

Parameters

Request $request

Return Value

Response

Exceptions

AccessDeniedException

at line 145
REsponse delete(Request $request)

Deletes the user

Parameters

Request $request

Return Value

REsponse

Exceptions

AccessDeniedException

at line 186
Response publicProfile($identifier)

Displays the public profile if enabled

Parameters

$identifier

Return Value

Response

Exceptions

AccessDeniedException

at line 208
Response export(Request $request, $format)

Export the user's data in JSON or XML

Parameters

Request $request
$format

Return Value

Response

Exceptions

AccessDeniedException