Свойство | Тип | Описание | |
---|---|---|---|
$deviceType | string | Device type |
Метод | Описание | |
---|---|---|
__construct ( string $deviceType = self::DEFAULT_DEVICE_TYPE ) | Instantiates a create user command | |
send ( |
Send command | |
setDeviceType ( string $deviceType ) : self | Set device type |
Метод | Описание | |
---|---|---|
buildRequestData ( |
Build request data |
public __construct ( string $deviceType = self::DEFAULT_DEVICE_TYPE ) | ||
$deviceType | string | Device type |
protected buildRequestData ( |
||
$client | Phue client | |
Результат | stdClass | Request data object |
public send ( |
||
$client | Phue Client | |
Результат | stdClass | Authentication response |
public setDeviceType ( string $deviceType ) : self | ||
$deviceType | string | Device type |
Результат | self | This object |