Showing 7 of 1,216 result(s)
Like the Redirect facade, the redirect helper function will resolve an instance of "Illuminate\Routing\Redirector" from the service container and then all the back method that is defined there:
To change the status code of the response simply supply an argument for the $status parameter:
The signature of the view function is:
The following example demonstrates how to check if a particular view exists by name: When arguments are supplied to the view function an internal call to Factory::make will take place and the created View instance will be returned as the result....
Sometimes it is useful to store the rendered contents of a view as a string for further processing. The following example demonstrates how to accomplish this using the view helper function: $welcomeViewContents = view('welcome')->render(); After...
If the $callback parameter is omitted when invoking the tap helper function, it will allow you to proxy method calls to the provided value. This is different from the with helper function; instead of returning the return value of the method call,...
The signature of the data_set function is:
The following amazing people help support this site and my open source projects ♥️
If you're interesting in supporting my work and want to show up on this list, check out my GitHub Sponsors Profile.