NextDom\Rest\ScenarioRest::changeScenarioActiveState
Disable scenario
Signature
private function changeScenarioActiveState(int
$scenarioId,
bool
$newState )
Parameters
$scenarioId
— int- Id of the scenario to disable
$newState
— bool- New state
Returns
- bool
- True on success