PHP Класс BitbarPlugins\Travel\GeolocationRequest

Наследование: implements JsonSerializable
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
getCarrierFromDefinition ( array $definition )
getCellTowersFromDefinition ( array $definition )
getConsiderIpFromDefinition ( array $definition )
getMMCFromDefinition ( array $definition )
getMNCFromDefinition ( array $definition )
getRadioTypeFromDefinition ( array $definition )
getWifiAccessPointsFromDefinition ( array $definition )

Описание методов

fromArrayDefinition() публичный статический Метод

public static fromArrayDefinition ( array $definition ) : self
$definition array
Результат self

jsonSerialize() публичный Метод

public jsonSerialize ( )

setCarrier() публичный Метод

public setCarrier ( string $carrier ) : GeolocationRequest
$carrier string
Результат GeolocationRequest

setCellTowers() публичный Метод

public setCellTowers ( array $cellTowers ) : GeolocationRequest
$cellTowers array
Результат GeolocationRequest

setConsiderIp() публичный Метод

public setConsiderIp ( boolean $considerIp ) : GeolocationRequest
$considerIp boolean
Результат GeolocationRequest

setHomeMobileCountryCode() публичный Метод

public setHomeMobileCountryCode ( integer $homeMobileCountryCode ) : GeolocationRequest
$homeMobileCountryCode integer
Результат GeolocationRequest

setHomeMobileNetworkCode() публичный Метод

public setHomeMobileNetworkCode ( integer $homeMobileNetworkCode ) : GeolocationRequest
$homeMobileNetworkCode integer
Результат GeolocationRequest

setRadioType() публичный Метод

public setRadioType ( string $radioType ) : GeolocationRequest
$radioType string
Результат GeolocationRequest

setWifiAccessPoints() публичный Метод

public setWifiAccessPoints ( WifiAccessPoints $wifiAccessPoints ) : GeolocationRequest
$wifiAccessPoints WifiAccessPoints
Результат GeolocationRequest