Phue\Command\CreateScene::__construct PHP Method

__construct() public method

Constructs a command
public __construct ( string $id, string $name, array $lights = [] )
$id string Id
$name string Name
$lights array List of light Ids or Light objects
    public function __construct($id, $name, array $lights = array())
    {
        $this->id($id);
        $this->name($name);
        $this->lights($lights);
    }