lithium\console\Request::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'args'
array'input'
resource|null'globals'
boolean: Use global variables for populating the request's environment and data; defaults totrue
.
Returns
voidSource
public function __construct($config = []) {
$defaults = [
'args' => [],
'input' => null,
'globals' => true
];
$this->_config = $config + $defaults;
$this->_autoInit($config);
}