PHP Class Phue\Command\GetScheduleById

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

Protected Properties

Property Type Description
$scheduleId string Schedule Id

Public Methods

Method Description
__construct ( integer $scheduleId ) Constructs a command
send ( Client $client ) : Schedule Send command

Method Details

__construct() public method

Constructs a command
public __construct ( integer $scheduleId )
$scheduleId integer Schedule Id

send() public method

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

Property Details

$scheduleId protected property

Schedule Id
protected string $scheduleId
return string