lithium\console\Request::__construct()

public method

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 to true.

Returns

void

Source

	public function __construct($config = []) {
		$defaults = [
			'args' => [],
			'input' => null,
			'globals' => true
		];
		$this->_config = $config + $defaults;
		$this->_autoInit($config);
	}