It is as follows, I have a function of callback
of this type:
\Excel::create($limite_vagas_array[0]['nome_curso']
.' - '.$limite_vagas_array[0]['nome_polo']
.' - Limite de vagas', function($excel) use ($limite_vagas_array)
{
$excel->sheet('sheet', function($sheet) use ($limite_vagas_array)
{
//#code
}
});
In use
I call the array $limite_vagas_array
, however I would like to pass another array
.
How do I do this?