PHP 클래스 Phue\Command\SetGroupState

상속: extends SetLightState, implements Phue\Command\ActionableInterface
파일 보기 프로젝트 열기: sqmk/phue 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$groupId string Group Id

공개 메소드들

메소드 설명
__construct ( mixed $group ) Constructs a command
getActionableParams ( Client $client ) : array Get actionable params
scene ( mixed $scene ) : self Set scene
send ( Client $client ) Send command

메소드 상세

__construct() 공개 메소드

Constructs a command
public __construct ( mixed $group )
$group mixed Group Id or Group object

getActionableParams() 공개 메소드

Get actionable params
public getActionableParams ( Client $client ) : array
$client Phue\Client Phue Client
리턴 array Key/value pairs of params

scene() 공개 메소드

Set scene
public scene ( mixed $scene ) : self
$scene mixed Scene id or Scene object
리턴 self This object

send() 공개 메소드

Send command
public send ( Client $client )
$client Phue\Client Phue Client

프로퍼티 상세

$groupId 보호되어 있는 프로퍼티

Group Id
protected string $groupId
리턴 string