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

getName() 공개 메소드

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

Usage Example

예제 #1
0
 public function testDefaultCommandName()
 {
     $this->assertAttributeEquals('', 'name', $this->command_stub);
     $this->assertEmpty($this->command_stub->getName());
 }