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

getUsage() 공개 메소드

Get usage
public getUsage ( ) : string
리턴 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());
 }