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);
 }