Abstract command with some utility methods.
More...
Abstract command with some utility methods.
Definition at line 12 of file Command.php.
Elgg\Cli\Command::command |
( |
| ) |
|
|
abstractprotected |
Command to be executed.
This method method should return an integer code of the error (or 0 for success). Optionally, the method can return a callable that will receive the instance of this command as an argument
- Returns
- mixed
- See also
- Command::execute()
Elgg\Cli\Command::execute |
( |
InputInterface |
$input, |
|
|
OutputInterface |
$output |
|
) |
| |
|
final |
Elgg\Cli\Command::login |
( |
| ) |
|
|
finalprotected |
Login a user defined by –as option.
- Returns
- void
- Exceptions
-
Definition at line 63 of file Command.php.
Elgg\Cli\Command::logout |
( |
| ) |
|
|
finalprotected |
Logout a user.
- Returns
- void
Definition at line 87 of file Command.php.
Elgg\Cli\Command::setLanguage |
( |
| ) |
|
|
finalprotected |
Set the language for this cli command.
- Returns
- void
- Since
- 3.3
Definition at line 99 of file Command.php.
The documentation for this class was generated from the following file: