프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |