Phue\Command\SetLightState::__construct PHP Method

__construct() public method

Constructs a command
public __construct ( mixed $light )
$light mixed Light Id or Light object
    public function __construct($light)
    {
        $this->lightId = (string) $light;
    }