class revert extends migrate

Properties

protected user $user from  command
protected migrator $migrator from  migration_command
protected manager $extension_manager from  migration_command
protected config $config from  migration_command
protected service $cache from  migration_command
protected log $log from  migrate
protected string $phpbb_root_path from  migrate
protected filesystem_interface $filesystem from  migrate
protected language $language from  migrate

Methods

__construct(user $user, language $language, migrator $migrator, manager $extension_manager, config $config, service $cache, log $log, filesystem_interface $filesystem, $phpbb_root_path)

Constructor

from  migrate
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)

Create a styled progress bar

from  command
load_migrations()

No description

finalise_update()

No description

configure()

{@inheritdoc}

int
execute(InputInterface $input, OutputInterface $output)

Executes the command db:revert.

Details

in migrate at line 35
__construct(user $user, language $language, migrator $migrator, manager $extension_manager, config $config, service $cache, log $log, filesystem_interface $filesystem, $phpbb_root_path)

Constructor

Parameters

user $user

User instance (mostly for translation)

language $language
migrator $migrator
manager $extension_manager
config $config
service $cache
log $log
filesystem_interface $filesystem
$phpbb_root_path

in command at line 45
ProgressBar create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)

Create a styled progress bar

Parameters

int $max

Max value for the progress bar

SymfonyStyle $io

Symfony style output decorator

OutputInterface $output

The output stream, used to print messages

bool $message

Should we display message output under the progress bar?

Return Value

ProgressBar

in migration_command at line 38
protected load_migrations()

No description

in migration_command at line 51
protected finalise_update()

No description

at line 27
protected configure()

{@inheritdoc}

at line 50
protected int execute(InputInterface $input, OutputInterface $output)

Executes the command db:revert.

Reverts a migration

Parameters

InputInterface $input

An InputInterface instance

OutputInterface $output

An OutputInterface instance

Return Value

int