/** * Constructor * * @param string $option */ public function __construct($option) { parent::__construct($option); $this->option = $option; }
/** * Constructor * * @param string $option * @param int $argument */ public function __construct($option, $argument) { parent::__construct(sprintf('%s %s', $option, $argument)); $this->option = $option; $this->argument = $argument; }