PHP Class Phue\Command\GetLightById

Inheritance: implements Phue\Command\CommandInterface
Show file Open project: sqmk/phue Class Usage Examples

Protected Properties

Property Type Description
$lightId string Light Id

Public Methods

Method Description
__construct ( integer $lightId ) Constructs a command
send ( Client $client ) : Light Send command

Method Details

__construct() public method

Constructs a command
public __construct ( integer $lightId )
$lightId integer Light Id

send() public method

Send command
public send ( Client $client ) : Light
$client Phue\Client Phue Client
return Phue\Light Light object

Property Details

$lightId protected property

Light Id
protected string $lightId
return string