Search

Showing 7 of 1,216 result(s)

/blog/2018/04/14/laravel-5-redirecting-users-to-the-previous-page-with-back#content-returning-a-redirect-response-using-the-response-helper-function

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:

/blog/2018/04/14/laravel-5-rendering-views-to-strings-and-returning-view-responses-with-view#content-example-use

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....

/blog/2018/04/14/laravel-5-rendering-views-to-strings-and-returning-view-responses-with-view#content-rendering-a-view-to-a-string

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...

/blog/2018/04/15/laravel-5-execute-a-callback-on-a-given-value-while-chaining-the-original-value-with-tap#content-using-tap-to-proxy-method-calls

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,...

Some absolutely amazing
people

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.