diff --git a/src/OptimisticLocking.php b/src/OptimisticLocking.php index b351dc3..170a6fd 100644 --- a/src/OptimisticLocking.php +++ b/src/OptimisticLocking.php @@ -135,7 +135,7 @@ protected static function defaultLockVersion() * * @return bool */ - protected function lockingEnabled() + public function lockingEnabled() { return $this->lock === null ? true : $this->lock; } @@ -145,7 +145,7 @@ protected function lockingEnabled() * * @return $this */ - protected function disableLocking() + public function disableLocking() { $this->lock = false; return $this;