Longman\TelegramBot\Commands\Command::getDescription PHP 메소드

getDescription() 공개 메소드

Get description
public getDescription ( ) : string
리턴 string
    public function getDescription()
    {
        return $this->description;
    }

Usage Example

예제 #1
0
 public function testDefaultCommandDescription()
 {
     $this->assertAttributeEquals('Command description', 'description', $this->command_stub);
     $this->assertEquals('Command description', $this->command_stub->getDescription());
 }