|
| __construct () |
|
| getCommand () |
| Return the command informations.
|
|
| run ($config, $options, $what,... $otherArgs) |
| Run this command.
|
|
|
static | parseArguments () |
|
static | getOption ($options, $option, $longOption, $default=NULL) |
|
static | getOptionArray ($options, $option, $longOption, $default=NULL) |
|
static | getBooleanOption ($options, $option, $longOption, $default=NULL) |
|
static | hasOption ($options, $option, $longOption) |
|
static | requiredParam ($what, $paramName) |
|
static | answerModel ($options, $option, $longOption, $part, $config) |
|
static | getCompleteClassname ($config, $classname, $type='models') |
|
static | getSelectedModels ($models, $config) |
|
static | updateDomain ($options) |
|
Definition at line 16 of file AbstractCustomCommand.php.
◆ __construct()
◆ getAliases()
◆ getCategory()
◆ getCommand()
◆ getDescription()
Return the command description.
- Returns
- string
◆ getExamples()
Return a list of examples.
Sample: ['Clear all caches'=>'Ubiquity clear-cache -t=all','Clear models cache'=>'Ubiquity clear-cache -t=models']
- Returns
- array
◆ getName()
Return the command name.
- Returns
- string
◆ getParameters()
Return the list of parameters.
Sample: ['d'=>Parameter::create('database', 'The database connection to use', [],'default')].
- Returns
- array
◆ getValue()
Return the command parameter name.
- Returns
- string
◆ run()
run |
( |
|
$config, |
|
|
|
$options, |
|
|
|
$what, |
|
|
|
$otherArgs |
|
) |
| |
|
abstract |
Run this command.
- Parameters
-
array | $config | The Ubiquity application config array. |
array | $options | |
string | $what | |
| mixed | ...$otherArgs |
◆ $command
The documentation for this class was generated from the following file:
- C:/Users/myadd/Documents/GitHub/ubiquity-doc-api/vendor/phpmv/ubiquity-commands/src/Ubiquity/devtools/cmd/commands/AbstractCustomCommand.php