protected filterYahoo ( array &$userAgent ) | ||
$userAgent | array |
protected function filterYahoo(array &$userAgent)
{
if (null === $userAgent['browser_name'] && strpos($userAgent['string'], 'yahoo! slurp')) {
$userAgent['browser_name'] = 'yahoobot';
}
}