LotgdInstallCommand
extends Command
in package
Uses
LockableTrait, FormaterTrait
Command for Install/Upgrade LoTGD.
Table of Contents
- $defaultName : mixed
- $doctrine : mixed
- $installer : mixed
- $style : mixed
- $translator : mixed
- __construct() : mixed
- formatVersion() : mixed
- configure() : mixed
- {@inheritdoc}
- execute() : int
- {@inheritdoc}
- banner() : string
- Beautiful banner ^_^.
- createUserAdmin() : mixed
- doExecute() : mixed
- getProgressBar() : mixed
- processCacheClear() : mixed
- processInstallation() : mixed
Properties
$defaultName
protected
static mixed
$defaultName
= 'lotgd:install'
$doctrine
protected
mixed
$doctrine
$installer
protected
mixed
$installer
$style
protected
mixed
$style
$translator
protected
mixed
$translator
Methods
__construct()
public
__construct(Install $install, TranslatorInterface $translator, EntityManagerInterface $doctrine) : mixed
Parameters
- $install : Install
- $translator : TranslatorInterface
- $doctrine : EntityManagerInterface
Return values
mixed —formatVersion()
public
formatVersion(mixed $version) : mixed
Parameters
- $version : mixed
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 —banner()
Beautiful banner ^_^.
private
banner() : string
Return values
string —createUserAdmin()
private
createUserAdmin(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixed —doExecute()
private
doExecute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
Return values
mixed —getProgressBar()
private
getProgressBar(mixed $output) : mixed
Parameters
- $output : mixed
Return values
mixed —processCacheClear()
private
processCacheClear(ProgressBar $installerBar) : mixed
Parameters
- $installerBar : ProgressBar
Return values
mixed —processInstallation()
private
processInstallation(InputInterface $input, OutputInterface $output, ProgressBar $installerBar, array<string|int, mixed> $versionsToInstall) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface
- $installerBar : ProgressBar
- $versionsToInstall : array<string|int, mixed>