Instantly share code, notes, and snippets.

@jeffandersen jeffandersen/get tasks, cached Secret
Created Dec 13, 2018

Embed
What would you like to do?
Route::get('/', function () {
// ...
$stats = Cache::getMemcached()->getStats();
return view('tasks', [
'tasks' => $tasks,
'stats' => array_pop($stats)
]);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment