Phue\Sensor::__construct PHP Method

__construct() public method

Construct a Phue Sensor object
public __construct ( string $id, stdClass $attributes, Client $client )
$id string Id
$attributes stdClass Sensor attributes
$client Client Phue client
    public function __construct($id, \stdClass $attributes, Client $client)
    {
        $this->id = $id;
        $this->attributes = $attributes;
        $this->client = $client;
    }