public function isBot() { return !empty($this->bot); }
public function getBotInformation() { if (!$this->deviceDetector->isBot()) { throw new \Exception(Yii::t("app", "Isn't a Bot.")); } return $this->deviceDetector->getBot(); }