프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$lights | Lights | ||
$name | string | Name |
메소드 | 설명 | |
---|---|---|
__construct ( string $name, array $lights = [] ) | Constructs a command | |
lights ( array $lights = [] ) : self | Set lights | |
name ( string $name ) : self | Set name | |
send ( |
Send command |
public __construct ( string $name, array $lights = [] ) | ||
$name | string | Name |
$lights | array | List of light Ids or Light objects |