UserLogoutCommand
extends Command
in package
Uses
LockableTrait
Command to logout 1 user or all.
Table of Contents
- TRANSLATION_DOMAIN = 'console_command'
- $defaultName : mixed
- $cache : mixed
- $repository : mixed
- $settings : mixed
- $translator : mixed
- __construct() : mixed
- configure() : mixed
- {@inheritdoc}
- execute() : int
Constants
TRANSLATION_DOMAIN
public
mixed
TRANSLATION_DOMAIN
= 'console_command'
Properties
$defaultName
protected
static mixed
$defaultName
= 'lotgd:user:logout'
$cache
private
mixed
$cache
$repository
private
mixed
$repository
$settings
private
mixed
$settings
$translator
private
mixed
$translator
Methods
__construct()
public
__construct(UserRepository $repository, CacheInterface $cache, Settings $settings, TranslatorInterface $translator) : mixed
Parameters
- $repository : UserRepository
- $cache : CacheInterface
- $settings : Settings
- $translator : TranslatorInterface
Return values
mixed —configure()
{@inheritdoc}
protected
configure() : mixed
Return values
mixed —execute()
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface