Legend of the Green Dragon

NewDayCommand extends Command
in package
Uses LockableTrait

Table of Contents

TRANSLATION_DOMAIN  = 'console_command'
$defaultName  : mixed
$dispatcher  : 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:newday'

Methods

__construct()

public __construct(EventDispatcherInterface $dispatcher, TranslatorInterface $translator) : mixed
Parameters
$dispatcher : EventDispatcherInterface
$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
Return values
int

Search results