예제 #1
0
 /**
  * Constructor
  *
  * @param string $option
  */
 public function __construct($option)
 {
     parent::__construct($option);
     $this->option = $option;
 }
예제 #2
0
 /**
  * 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;
 }