KMP PHP API Reference

ResetDatabaseCommand 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

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


        
On this page

Search results