I have array like this :
$test = array(
array(
'name' => 'Christina',
'age' => '25'
),
array(
'name' => 'Agis',
'age' => '22'
),
array(
'name' => 'Agnes',
'age' => '30'
)
);
I want to change it to collection laravel
I try like this :
collect($test)
The results are not perfect. There is still an array
How can I solve this problem?