valueName() public method

--name=
public valueName ( $name )
Esempio n. 1
0
 public function testValueName()
 {
     $opt = new Option('z');
     $opt->defaultValue(10);
     $opt->valueName('priority');
     $this->assertEquals('[=priority]', $opt->renderValueHint());
     $this->assertEquals('-z[=priority]', $opt->renderReadableSpec());
 }