getType() public method

public getType ( ) : string
return string
Ejemplo n.º 1
0
 public function testType()
 {
     $bot = new Bot();
     $this->assertNull($bot->getType());
     $type = 'crawler';
     $bot->setType($type);
     $this->assertEquals($type, $bot->getType());
 }