Console
in package
Console
Table of Contents
- $app : CodeIgniter
- Main CodeIgniter instance.
- __construct() : mixed
- Console constructor.
- run() : RequestInterface|Response|ResponseInterface|mixed
- Runs the current command discovered on the CLI.
- showHeader() : mixed
- Displays basic information about the Console.
Properties
$app
Main CodeIgniter instance.
protected
CodeIgniter
$app
Methods
__construct()
Console constructor.
public
__construct(CodeIgniter $app) : mixed
Parameters
- $app : CodeIgniter
Return values
mixed —run()
Runs the current command discovered on the CLI.
public
run([bool $useSafeOutput = false ]) : RequestInterface|Response|ResponseInterface|mixed
Parameters
- $useSafeOutput : bool = false
Tags
Return values
RequestInterface|Response|ResponseInterface|mixed —showHeader()
Displays basic information about the Console.
public
showHeader([bool $suppress = false ]) : mixed
Parameters
- $suppress : bool = false