Search

Showing 7 of 1,216 result(s)

/blog/2018/04/14/laravel-5-accessing-and-manipulating-session-data-with-session#content-returning-an-instance-of-illuminatesessionsessionmanager

To return an instance of the "\Illuminate\Session\SessionManager" class, set the $key parameter to null . If the $key parameter is set to null , the $default parameter is completely ignored.

/blog/2018/04/14/laravel-5-accessing-and-manipulating-session-data-with-session#content-setting-a-session-value

The session function allows setting session values directly by passing in an array of key/value pairs. The following example demonstrates this: Setting single session values is also possible:

/blog/2018/04/14/laravel-5-accessing-and-manipulating-session-data-with-session#content-retrieving-a-session-value

Values can be retrieved with the session function by supplying a $key . To retrieve the test value from the earlier example the function call would look like so: It is possible that a session value does not exist. When this is the case, the...

/blog/2018/04/14/laravel-5-accessing-and-sending-http-responses-with-response#content-example-use

The following example demonstrates some of the different methods that are available when the response function is used in this way: The response function can also be used as a shortcut to the ResponseFactory::make method. If any arguments are...

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.