PHP Class UserAgentParser\Provider\Http\UdgerCom

See also: https://udger.com/support/documentation/?doc=38
Author: Martin Keckeis ([email protected])
Inheritance: extends AbstractHttpProvider
Afficher le fichier Open project: ThaDafinser/UserAgentParser Class Usage Examples

Protected Properties

Свойство Type Description
$defaultValues
$detectionCapabilities
$homepage string Homepage of the provider
$name string Name of the provider

Méthodes publiques

Méthode Description
__construct ( Client $client, $apiKey )
getVersion ( )
parse ( $userAgent, array $headers = [] )

Méthodes protégées

Méthode Description
getResult ( string $userAgent, array $headers ) : stdClass

Private Methods

Méthode Description
hydrateBot ( Bot $bot, stdClass $resultRaw )
hydrateBrowser ( Browser $browser, stdClass $resultRaw )
hydrateDevice ( Device $device, stdClass $resultRaw )
hydrateOperatingSystem ( OperatingSystem $os, stdClass $resultRaw )
hydrateRenderingEngine ( RenderingEngine $engine, stdClass $resultRaw )
isBot ( stdClass $resultRaw ) : boolean

Method Details

__construct() public méthode

public __construct ( Client $client, $apiKey )
$client GuzzleHttp\Client

getResult() protected méthode

protected getResult ( string $userAgent, array $headers ) : stdClass
$userAgent string
$headers array
Résultat stdClass

getVersion() public méthode

public getVersion ( )

parse() public méthode

public parse ( $userAgent, array $headers = [] )
$headers array

Property Details

$defaultValues protected_oe property

protected $defaultValues

$detectionCapabilities protected_oe property

protected $detectionCapabilities

$homepage protected_oe property

Homepage of the provider
protected string $homepage
Résultat string

$name protected_oe property

Name of the provider
protected string $name
Résultat string