For example, you might have a "My Account" section on the frontend for users, and a User Edit section for administrators that use the same model. Those would likely have different fillable values. Any good solutions for that?
Also, in my opinion it would be nice to be able to access the getFillable() method statically, i.e. User::getFillable(), rather than:
$user = new User; $user->getFillable();
This ended up working well:
Some people argue that it goes against core MVC, but in my opinion doing it this way is better than over complicating it to fit "strict MVC." It fits contextually.
Sign in to participate in this thread!