Phue\Command\UpdateSensor::__construct PHP Method

__construct() public method

Constructs a command
public __construct ( mixed $sensor )
$sensor mixed Sensor Id or Sensor object
    public function __construct($sensor)
    {
        $this->sensorId = (string) $sensor;
    }