pull('audio'); $text = session()->pull('text'); $name = session()->pull('name'); $mail = session()->pull('mail'); $dates = session()->pull('dates'); $audio = session()->pull('audio'); $body = "Nom de l'entreprise : " .$name."
Mail : " .$mail."
Texte du message : " .$text."
Dates : ".$dates."
Audio : ".asset('storage/'.urlencode($audio)); EmailController::index("Annonce - ".$name,$body); } public function cancel(){ // $file = session()->pull('audio'); $text = session()->pull('text'); $name = session()->pull('name'); $mail = session()->pull('mail'); $dates = session()->pull('dates'); $audio = session()->pull('audio'); $refresh; } }