Closed Justas-S closed 4 years ago
The DatabaseLock references the now() helper which is defined in Laraavel foundation. Lumen does not have access to this component.
DatabaseLock
now()
database
Cache::lock('example')->get(function () {});
I think we should just replace all occurrences of now with the body of that method.
now
https://github.com/laravel/framework/pull/34262
Fixed in framework. Will be tagged soon.
Description:
The
DatabaseLock
references thenow()
helper which is defined in Laraavel foundation. Lumen does not have access to this component.Steps To Reproduce:
database
Cache::lock('example')->get(function () {});