PHP Class Phue\Command\GetNewSensors

Inheritance: implements Phue\Command\CommandInterface
Afficher le fichier Open project: sqmk/phue

Protected Properties

Свойство Type Description
$lastScan string Last scan
$sensors array Found sensors

Méthodes publiques

Méthode Description
getSensors ( ) : array Get sensors
isScanActive ( ) : boolean Is scan currently active
send ( Client $client ) : self Send command

Method Details

getSensors() public méthode

Get sensors
public getSensors ( ) : array
Résultat array List of new sensors

isScanActive() public méthode

Is scan currently active
public isScanActive ( ) : boolean
Résultat boolean True if active, false if not

send() public méthode

Send command
public send ( Client $client ) : self
$client Phue\Client Phue Client
Résultat self This object

Property Details

$lastScan protected_oe property

Last scan
protected string $lastScan
Résultat string

$sensors protected_oe property

Found sensors
protected array $sensors
Résultat array