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

getUsage() public method

Get usage
public getUsage ( ) : string
return string
    public function getUsage()
    {
        return $this->usage;
    }

Usage Example

コード例 #1
0
 public function testDefaultCommandUsage()
 {
     $this->assertAttributeEquals('Command usage', 'usage', $this->command_stub);
     $this->assertEquals('Command usage', $this->command_stub->getUsage());
 }