getOption() 공개 메소드

Returns an option by its long or short name.
public getOption ( string $name, boolean $includeBase = true ) : Option
$name string The long or short option name.
$includeBase boolean Whether to include options in the base format in the search.
리턴 Option The option.
예제 #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetOptionFailsIfIncludeBaseNoBoolean()
 {
     $this->builder->getOption('argument', 1234);
 }