Change Ressource Value Output
Hi all,
is it possible to change the string output inside a ressource controller? For example, the relationship to role has the value super_admin, I want to use a string convertion like Str::studly() (SuperAdmin) or similar for the output?
1 Reply
Search for "dehydrate" and "mutate" in the docs