PHP Class BitbarPlugins\Travel\GeolocationRequest

Inheritance: implements JsonSerializable
Afficher le fichier Open project: matryer/bitbar-plugins

Méthodes publiques

Méthode Description
fromArrayDefinition ( array $definition ) : self
jsonSerialize ( )
setCarrier ( string $carrier ) : GeolocationRequest
setCellTowers ( array $cellTowers ) : GeolocationRequest
setConsiderIp ( boolean $considerIp ) : GeolocationRequest
setHomeMobileCountryCode ( integer $homeMobileCountryCode ) : GeolocationRequest
setHomeMobileNetworkCode ( integer $homeMobileNetworkCode ) : GeolocationRequest
setRadioType ( string $radioType ) : GeolocationRequest
setWifiAccessPoints ( WifiAccessPoints $wifiAccessPoints ) : GeolocationRequest

Private Methods

Méthode Description
getCarrierFromDefinition ( array $definition )
getCellTowersFromDefinition ( array $definition )
getConsiderIpFromDefinition ( array $definition )
getMMCFromDefinition ( array $definition )
getMNCFromDefinition ( array $definition )
getRadioTypeFromDefinition ( array $definition )
getWifiAccessPointsFromDefinition ( array $definition )

Method Details

fromArrayDefinition() public static méthode

public static fromArrayDefinition ( array $definition ) : self
$definition array
Résultat self

jsonSerialize() public méthode

public jsonSerialize ( )

setCarrier() public méthode

public setCarrier ( string $carrier ) : GeolocationRequest
$carrier string
Résultat GeolocationRequest

setCellTowers() public méthode

public setCellTowers ( array $cellTowers ) : GeolocationRequest
$cellTowers array
Résultat GeolocationRequest

setConsiderIp() public méthode

public setConsiderIp ( boolean $considerIp ) : GeolocationRequest
$considerIp boolean
Résultat GeolocationRequest

setHomeMobileCountryCode() public méthode

public setHomeMobileCountryCode ( integer $homeMobileCountryCode ) : GeolocationRequest
$homeMobileCountryCode integer
Résultat GeolocationRequest

setHomeMobileNetworkCode() public méthode

public setHomeMobileNetworkCode ( integer $homeMobileNetworkCode ) : GeolocationRequest
$homeMobileNetworkCode integer
Résultat GeolocationRequest

setRadioType() public méthode

public setRadioType ( string $radioType ) : GeolocationRequest
$radioType string
Résultat GeolocationRequest

setWifiAccessPoints() public méthode

public setWifiAccessPoints ( WifiAccessPoints $wifiAccessPoints ) : GeolocationRequest
$wifiAccessPoints WifiAccessPoints
Résultat GeolocationRequest