setDescription() 공개 메소드

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.
또한 보기: getDescription()
public setDescription ( string $description ) : static
$description string The description.
리턴 static The current instance.
예제 #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetDescriptionFailsIfNotString()
 {
     $this->config->setDescription(1234);
 }