AvatarCleanCommand
extends Command
in package
Uses
LockableTrait
Console command to display information about the current application.
Table of Contents
- TRANSLATION_DOMAIN = 'console_command'
- $defaultName : mixed
- $avatarClean : mixed
- $translator : mixed
- __construct() : mixed
- configure() : mixed
- {@inheritdoc}
- execute() : int
- {@inheritdoc}
Constants
TRANSLATION_DOMAIN
public
mixed
TRANSLATION_DOMAIN
= 'console_command'
Properties
$defaultName
protected
static mixed
$defaultName
= 'lotgd:cron:avatar:clean'
$avatarClean
private
mixed
$avatarClean
$translator
private
mixed
$translator
Methods
__construct()
public
__construct(AvatarCleanService $avatarClean, TranslatorInterface $translator) : mixed
Parameters
- $avatarClean : AvatarCleanService
- $translator : TranslatorInterface
Return values
mixed —configure()
{@inheritdoc}
protected
configure() : mixed
Return values
mixed —execute()
{@inheritdoc}
protected
execute(InputInterface $input, OutputInterface $output) : int
Parameters
- $input : InputInterface
- $output : OutputInterface