Hey guys! I have a 2 Models with a hasMany relation, if I call $mymodel->getRelationField() I get my relation data as expected, but if I call $mymodel->toArray() it just dont return the associated data, how can I achieve this?
Kind regards cefuroX
Hey guys! I have a 2 Models with a hasMany relation, if I call $mymodel->getRelationField() I get my relation data as expected, but if I call $mymodel->toArray() it just dont return the associated data, how can I achieve this?
Kind regards cefuroX