The description is a short one-liner that describes the command in the
command listing. The description should be written in imperative form
rather than in descriptive form. So:
> List the contents of a directory.
should be preferred over
> Lists the contents of a directory.
public setDescription ( string $description ) : static | ||
$description | string | The description. |
리턴 | static | The current instance. |
/** * @expectedException \InvalidArgumentException */ public function testSetDescriptionFailsIfNotString() { $this->config->setDescription(1234); }