PetitionCleanCommand
extends Command
in package
Uses
LockableTrait
Table of Contents
- TRANSLATION_DOMAIN = 'console_command'
- $defaultName : mixed
- $repository : 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:game:petition:clean'
$repository
private
mixed
$repository
$translator
private
mixed
$translator
Methods
__construct()
public
__construct(PetitionsRepository $repository, TranslatorInterface $translator) : mixed
Parameters
- $repository : PetitionsRepository
- $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