UpdateDatabaseCommand
extends Command
in package
RevertDatabase command.
Table of Contents
Methods
- buildOptionParser() : ConsoleOptionParser
- Hook method for defining this command's option parser.
- execute() : int|null|void
- Implement this method with your command's logic.
Methods
buildOptionParser()
Hook method for defining this command's option parser.
public
buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
- $parser : ConsoleOptionParser
-
The parser to be defined
Tags
Return values
ConsoleOptionParser —The built parser.
execute()
Implement this method with your command's logic.
public
execute(Arguments $args, ConsoleIo $io) : int|null|void
Parameters
- $args : Arguments
-
The command arguments.
- $io : ConsoleIo
-
The console io
Return values
int|null|void —The exit code or null for success