Zend\Console\Getopt::setArguments
Define full set of command-line arguments.
These replace any currently defined.
Signature
public function setArguments(array
$argv )
Parameters
$argv
— array
Returns
- self
Errors/Exceptions
-
InvalidArgumentException
- When not given an array as parameter