Was going through Laravel Illuminate core when I met this code..What's does the ellipsis before parameter $guards mean?
public function handle($request,Closure $next,...$guards){
$this->authenticate($guards);
return $next($request);
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2rkH8QT
via IFTTT
Aucun commentaire:
Enregistrer un commentaire