Longman\TelegramBot\Commands\Command::getDescription PHP Method

getDescription() public method

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

Usage Example

Exemplo n.º 1
0
 public function testDefaultCommandDescription()
 {
     $this->assertAttributeEquals('Command description', 'description', $this->command_stub);
     $this->assertEquals('Command description', $this->command_stub->getDescription());
 }