I have the followong loop inside that I try to add a new value:
foreach ($pro->sig()->get() as $key => $sig) {
$sig->val = 2; );
}
When I get output of $pro->sig() I dont have here new value $sig->val
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire