Open mauvm opened 8 years ago
Currently we can do this:
function store () { $model = $response = parent::store(); // Modify model }
However, it's not easy to edit the input data before running the parent's store method. Maybe create a pre/post store hook? Should we use the Eloquent events for this?
store
Currently we can do this:
However, it's not easy to edit the input data before running the parent's
store
method. Maybe create a pre/post store hook? Should we use the Eloquent events for this?