diff --git a/src/Illuminate/Database/Connection.php b/src/Illuminate/Database/Connection.php index 24bd64e375ae..be9656660348 100755 --- a/src/Illuminate/Database/Connection.php +++ b/src/Illuminate/Database/Connection.php @@ -891,6 +891,19 @@ public function recordsHaveBeenModified($value = true) } } + /** + * Set the record modification state. + * + * @param bool $value + * @return $this + */ + public function setRecordModificationState(bool $value) + { + $this->recordsModified = $value; + + return $this; + } + /** * Reset the record modification state. *