SyncRule: alternative setter for properties

This commit is contained in:
Thomas Gelf 2023-03-07 11:49:13 +01:00
parent 5029a30a62
commit 628f24d3d3
1 changed files with 10 additions and 0 deletions

View File

@ -316,6 +316,16 @@ class SyncRule extends DbObject implements ExportInterface
return $object; return $object;
} }
/**
* Flat object has 'properties', but setProperties() is not available in DbObject
*
* @return void
*/
public function setSyncProperties(?array $value)
{
$this->newSyncProperties = $value;
}
public function getUniqueIdentifier() public function getUniqueIdentifier()
{ {
return $this->get('rule_name'); return $this->get('rule_name');