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);
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire