ardent icon indicating copy to clipboard operation
ardent copied to clipboard

Eloquent mutator usage

Open Edwin-Luijten opened this issue 11 years ago • 0 comments

I'm using $autoHydrateEntityFromInput = true in my model.

I have the following database fields and in my fillable attribute: name, slug, sub_domain

In my form I only submit the name, and I hoped the set mutators of slug and sub domain where automatically called. But this isn't the case.

Is Ardent capable of achieving this behavior? or does it only call the mutators of fields in input::all() ?

Edwin-Luijten avatar Jan 19 '14 19:01 Edwin-Luijten