Environment
extends Base
in package
Environment cli class.
Table of Contents
- $helpMode : bool
- $methods : array<string|int, string>
- $moduleName : string
- $cli : Cli
- $climate : CLImate
- __construct() : mixed
- Construct.
- confReportAll() : void
- Server configuration - All.
- confReportErrors() : void
- Server configuration - Errors.
- htmlToText() : void
- Convert html to cli text.
Properties
$helpMode
public
bool
$helpMode
= false
Show only help info
$methods
public
array<string|int, string>
$methods
= ['confReportErrors' => 'Server configuration - Errors', 'confReportAll' => 'Server configuration - All']
Methods list
$moduleName
public
string
$moduleName
= 'Environment'
Module Name
$cli
protected
Cli
$cli
Cli instance.
$climate
protected
CLImate
$climate
CLImate instance.
Methods
__construct()
Construct.
public
__construct(Cli $cli) : mixed
Parameters
- $cli : Cli
Return values
mixed —confReportAll()
Server configuration - All.
public
confReportAll() : void
Return values
void —confReportErrors()
Server configuration - Errors.
public
confReportErrors() : void
Return values
void —htmlToText()
Convert html to cli text.
public
htmlToText(array<string|int, mixed> &$item) : void
Parameters
- $item : array<string|int, mixed>