Laravel Cookie (Meesage Flash para o tempo)

public function setCookie(Request $request) {

    Cookie::queue('name', $request->test, 10);

    return view('home');
 }
Mushy Mink