what is the meaning of return $request->post(); in laravel ? Please help me
public function store(Request $request)
{
return $request->post();
}
Thanks for helping.
My Answer:
In PHP, `return $request` means that the function will return the value of the `$request` variable to the calling code. This allows the function to pass data back to the code that called it.
Rate this post
3 of 5 based on 7292 votesComments