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

getVersion() 공개 메소드

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

Usage Example

예제 #1
0
 public function testDefaultCommandVersion()
 {
     $this->assertAttributeEquals('1.0.0', 'version', $this->command_stub);
     $this->assertEquals('1.0.0', $this->command_stub->getVersion());
 }
All Usage Examples Of Longman\TelegramBot\Commands\Command::getVersion