Answer the question
In order to leave comments, you need to log in
How to catch and change exception in Laravel?
Hello. There is a controller
/**
* Display the specified resource.
*
* @param Category $category
* @return CategoryResource
*/
public function show(Category $category): CategoryResource
{
return new CategoryResource($category);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question