| Fully Qualified Name: | CodeIgniter\CLI\CommandRunner |
| Extends: | Controller |
Command runner
| Name | Description | Defined By |
|---|---|---|
| _remap() | We map all un-routed CLI methods through this function so we have the chance to look for a Command first. | CommandRunner |
| getCommands() | Allows access to the current commands that have been found. | CommandRunner |
| index() | Default command. | CommandRunner |
| initController() | Constructor. | Controller |
We map all un-routed CLI methods through this function so we have the chance to look for a Command first.
| Parameter Name | Type | Description |
|---|---|---|
| $method | string | |
| ...$params | array | |
| $params |
Returns: mixed
Allows access to the current commands that have been found.
Returns: array
Default command.
| Parameter Name | Type | Description |
|---|---|---|
| $params | array |
Returns: mixed
Constructor.
| Parameter Name | Type | Description |
|---|---|---|
| $request | \RequestInterface | |
| $response | \ResponseInterface | |
| $logger | \Psr\Log\LoggerInterface |
Returns: