Mutate Before Create Function
Can anyone please tell me what's wrong here, I don't get any errors but it doesn't work, and I tried to use the
beforeCreate()
Function but that doesn't let me pass the $data
array.Solution:Jump to solution
What's not working? Can you be more specific? You have return on second line so everything later won't be executed
2 Replies
Solution
What's not working? Can you be more specific? You have return on second line so everything later won't be executed
well I'm dumb, sorry for wasting your time. it works, Thanks