Zend\Console\Request::__construct
Create a new CLI request
Signature
public function __construct([array
$args = null,
[array
$env = null]] )
Parameters
$args
— array- Console arguments. If not supplied, $_SERVER['argv'] will be used
$env
— array- Environment data. If not supplied, $_ENV will be used