PHP 클래스 Phue\Command\SetSceneLightState

상속: extends SetLightState
파일 보기 프로젝트 열기: sqmk/phue 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$lightId string Light Id.
$sceneId string Scene Id

공개 메소드들

메소드 설명
__construct ( mixed $scene, mixed $light ) Constructs a command
send ( Client $client ) Send command

메소드 상세

__construct() 공개 메소드

Constructs a command
public __construct ( mixed $scene, mixed $light )
$scene mixed Scene Id or Scene object
$light mixed Light Id or Light object

send() 공개 메소드

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

프로퍼티 상세

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

Light Id.
protected string $lightId
리턴 string

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

Scene Id
protected string $sceneId
리턴 string