UserAgentParser\Model\Bot::getIsBot PHP Метод

getIsBot() публичный Метод

public getIsBot ( ) : boolean
Результат boolean
    public function getIsBot()
    {
        return $this->isBot;
    }

Usage Example

Пример #1
0
 public function testIsBot()
 {
     $bot = new Bot();
     $this->assertNull($bot->getIsBot());
     $bot->setIsBot(true);
     $this->assertTrue($bot->getIsBot());
     $bot->setIsBot(false);
     $this->assertFalse($bot->getIsBot());
 }