get($file); if ($lastcall < time() - 30) { $lastcall = time() - 30; } Storage::disk('local')->put($file, time()); return trim($lastcall); } }