D
Size: a a a
MP
V
V
MP
MP
MP
V
AH
V
V
V
$specs = Spec::with('values')->get()->each(function($model) {
$model->values->each(function($model) {
$model->append('image');
});
})->toArray();
V
V
AH
$specs = Spec::with('values')->get()->each(function($model) {
$model->values->each(function($model) {
$model->append('image');
});
})->toArray();
$specs = Spec::query()
->with('values')
->get()
->each(function (Spec $spec)) {
$spec->values->append('image');
})
->toArray();
AH
V
MP
$specs = Spec::query()
->with('values')
->get()
->each(function (Spec $spec)) {
$spec->values->append('image');
})
->toArray();
V