public function __construct(array $argv) { if (count($argv) > 0) { $this->arguments = array_slice($argv, 1); $this->parseOptions(); } }