setHelp() public method

The help text provides additional information about a command that is displayed in the help view.
See also: getHelp()
public setHelp ( string $help ) : static
$help string The help text of the command.
return static The current instance.
Example #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetHelpFailsIfNotString()
 {
     $this->config->setHelp(1234);
 }