AbstractCommand
in package
This is the base class for all commands, the cli executor expects all commands to extend this class and have a JinyaCommand attribute
Tags
Table of Contents
- $climate : CLImate
- __construct() : mixed
- Creates a new instance of AbstractCommand. Derived classes need to call the constructor to initialize CLImate
- run() : void
- Gets executed by the cli executor
Properties
$climate
protected
CLImate
$climate
The CLImate instance of the command
Tags
Methods
__construct()
Creates a new instance of AbstractCommand. Derived classes need to call the constructor to initialize CLImate
public
__construct() : mixed
Tags
Return values
mixed —run()
Gets executed by the cli executor
public
abstract run() : void