PHP Class Phue\Command\SetSceneLightState

Inheritance: extends SetLightState
Show file Open project: sqmk/phue Class Usage Examples

Protected Properties

Property Type Description
$lightId string Light Id.
$sceneId string Scene Id

Public Methods

Method Description
__construct ( mixed $scene, mixed $light ) Constructs a command
send ( Client $client ) Send command

Method Details

__construct() public method

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

send() public method

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

Property Details

$lightId protected property

Light Id.
protected string $lightId
return string

$sceneId protected property

Scene Id
protected string $sceneId
return string