isBot() 공개 메소드

public isBot ( ) : boolean
리턴 boolean
예제 #1
0
 public function testIsBot()
 {
     $ua = new UserAgent();
     $this->assertFalse($ua->isBot());
     $ua->getBot()->setIsBot(false);
     $this->assertFalse($ua->isBot());
     $ua->getBot()->setIsBot(true);
     $this->assertTrue($ua->isBot());
 }