John Davidson

php - What is the meaning of return $request->post(); in laravel?

0 comments
Message:


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 votes

Comments




© 2024 Hayatsk.info - Personal Blogs Platform. All Rights Reserved.
Create blog  |  Privacy Policy  |  Terms & Conditions  |  Contact Us