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

getName() public method

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

Usage Example

Ejemplo n.º 1
0
 public function testDefaultCommandName()
 {
     $this->assertAttributeEquals('', 'name', $this->command_stub);
     $this->assertEmpty($this->command_stub->getName());
 }