src/Provider/Http/NeutrinoApiCom.php 1 location
|
@@ 199-206 (lines=8) @@
|
| 196 |
|
* @param Model\Bot $bot |
| 197 |
|
* @param stdClass $resultRaw |
| 198 |
|
*/ |
| 199 |
|
private function hydrateBot(Model\Bot $bot, stdClass $resultRaw) |
| 200 |
|
{ |
| 201 |
|
$bot->setIsBot(true); |
| 202 |
|
|
| 203 |
|
if (isset($resultRaw->browser_name) && $this->isRealResult($resultRaw->browser_name) === true) { |
| 204 |
|
$bot->setName($resultRaw->browser_name); |
| 205 |
|
} |
| 206 |
|
} |
| 207 |
|
|
| 208 |
|
/** |
| 209 |
|
* |
src/Provider/Http/UdgerCom.php 1 location
|
@@ 180-187 (lines=8) @@
|
| 177 |
|
* @param Model\Bot $bot |
| 178 |
|
* @param stdClass $resultRaw |
| 179 |
|
*/ |
| 180 |
|
private function hydrateBot(Model\Bot $bot, stdClass $resultRaw) |
| 181 |
|
{ |
| 182 |
|
$bot->setIsBot(true); |
| 183 |
|
|
| 184 |
|
if (isset($resultRaw->ua_family) && $this->isRealResult($resultRaw->ua_family) === true) { |
| 185 |
|
$bot->setName($resultRaw->ua_family); |
| 186 |
|
} |
| 187 |
|
} |
| 188 |
|
|
| 189 |
|
/** |
| 190 |
|
* |
src/Provider/Http/UserAgentApiCom.php 1 location
|
@@ 175-182 (lines=8) @@
|
| 172 |
|
* @param Model\Bot $bot |
| 173 |
|
* @param stdClass $resultRaw |
| 174 |
|
*/ |
| 175 |
|
private function hydrateBot(Model\Bot $bot, stdClass $resultRaw) |
| 176 |
|
{ |
| 177 |
|
$bot->setIsBot(true); |
| 178 |
|
|
| 179 |
|
if (isset($resultRaw->platform_name) && $this->isRealResult($resultRaw->platform_name) === true) { |
| 180 |
|
$bot->setName($resultRaw->platform_name); |
| 181 |
|
} |
| 182 |
|
} |
| 183 |
|
|
| 184 |
|
/** |
| 185 |
|
* |