ResetPasswordCommand extends Command

Triggers the workflow to request a new password for a user.

Table of Contents

Methods

__construct()  : mixed
configure()  : mixed
Configure the command by defining the name, options and arguments
createFakeWebRequest()  : ServerRequestInterface
This is needed to create a link to the backend properly.
execute()  : int
Executes the command for sending out an email to reset the password.
simulateEnvironmentForBackendEntryPoint()  : array<string|int, mixed>
This is a workaround to use "PublicPath . /typo3/index.php" instead of "publicPath . /typo3/sysext/core/bin/typo3" so the web root is detected properly in normalizedParams.

Methods

configure()

Configure the command by defining the name, options and arguments

protected configure() : mixed

createFakeWebRequest()

This is needed to create a link to the backend properly.

protected createFakeWebRequest(string $backendUrl) : ServerRequestInterface
Parameters
$backendUrl : string
Return values
ServerRequestInterface

execute()

Executes the command for sending out an email to reset the password.

protected execute(InputInterface $input, OutputInterface $output) : int
Parameters
$input : InputInterface
$output : OutputInterface
Return values
int

simulateEnvironmentForBackendEntryPoint()

This is a workaround to use "PublicPath . /typo3/index.php" instead of "publicPath . /typo3/sysext/core/bin/typo3" so the web root is detected properly in normalizedParams.

protected simulateEnvironmentForBackendEntryPoint() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results