-
-
Notifications
You must be signed in to change notification settings - Fork 88
Open
Labels
Reduce technical debtFacilitates long-term thinkingFacilitates long-term thinkingphpPull requests that update Php codePull requests that update Php code
Description
need update laravel 12 befor
Before Update:
use Illuminate\Support\Facades\Cache;
// Caching a user
$user = Cache::remember('user_'.$id, 600, function () use ($id) {
return User::find($id);
});After Update:
use Illuminate\Support\Facades\Cache;
// Utilizing the new async caching API
$user = Cache::asyncRemember('user_'.$id, 600, function () use ($id) {
return User::find($id);
});Metadata
Metadata
Assignees
Labels
Reduce technical debtFacilitates long-term thinkingFacilitates long-term thinkingphpPull requests that update Php codePull requests that update Php code
Projects
Status
Backlog