asprin
Active member
Let's say via my addon, I have to update an entity and in this specific scenario when I call
save()
, I do not want the preSave()
function to run that I've defined in the Entity's class. Is this doable?
PHP:
$foo = $this->assertRecordExists('Asprin\FB:Foo', 123456, null, null);
$foo->bar = 'all is well';
$foo->save(); // now this should not call the preSave() function defined on Asprin\FB:Foo