NextDom\Model\Entity\EqLogic::checkAndUpdateCmd
Check and update a command information
Signature
public function checkAndUpdateCmd(string|Cmd
$logicalId,
mixed
$newValue,
[null
$updateEventTime = NULL] )
Parameters
$logicalId
—
object
- Logical id or cmd object
$newValue
—
mixed
- Value to update
$updateEventTime
—
null
- Date of the update
Returns
- bool
- True if new value is different of the old value.
Errors/Exceptions
-
Exception