DeleteOldLoginAttempts
extends Command
-
#[AsCommand]
-
$name: 'user:gdpr:delete-old-loginattempts'
-
$description: 'Delete (failed) login attempts older than 3 months'
Table of Contents
Properties
-
$loginAttemptService
: LoginAttempt
Methods
-
__construct()
: mixed
-
execute()
: int
$loginAttemptService
read-only
private
LoginAttempt
$loginAttemptService
__construct()
public
__construct(LoginAttempt $loginAttemptService) : mixed
Parameters
-
$loginAttemptService
: LoginAttempt
-
execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
-
$input
: InputInterface
-
-
$output
: OutputInterface
-