ConsoleRunner
in package
Console runner.
Tags
Table of Contents
- $commands : array<string|int, mixed>
- List of commands
- $pluginManager : ContainerInterface
- Plugin manager (to retrieve commands)
- __construct() : mixed
- Constructor
- run() : mixed
- Run the console action
- getCommandList() : array<string|int, mixed>
- Get the command or list of commands to run.
Properties
$commands
List of commands
protected
array<string|int, mixed>
$commands
$pluginManager
Plugin manager (to retrieve commands)
protected
ContainerInterface
$pluginManager
Methods
__construct()
Constructor
public
__construct(ContainerInterface $pm) : mixed
Parameters
- $pm : ContainerInterface
-
Plugin manager (to retrieve commands)
Return values
mixed —run()
Run the console action
public
run() : mixed
Return values
mixed —getCommandList()
Get the command or list of commands to run.
protected
getCommandList() : array<string|int, mixed>