Add update method as alias for set in object_property class

This commit is contained in:
Jeppe Bundgaard
2026-01-09 13:22:59 +01:00
parent 69c2acf66f
commit c87f96ebcf
@@ -100,6 +100,15 @@ class object_property
$db->query($sql);
}
/**
* Alias for set()
* @param mixed $value The value of the field in the database table
*/
public function update(mixed $value): void
{
$this->set($value);
}
/**
* Nullify the value of the field in the database table
*/