Showing 7 of 1,216 result(s)
The array_where function is a shortcut to calling Arr::where . This function is declared in the global namespace.
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.
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:
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...
Most facades request a concrete class implementation from the service container based off of some abstract string representation. However, the Blade facade retrieve an Illuminate\View\Engines \EngineResolver instance from the...
Like the Blade facade, the Schema facade does not simply resolve some instance from the service container. The Schema facade returns an instance of Illuminate\Database\Schema\Builder configured to use the default connection that appears in the...
The Cookie facade defines two additional methods. These methods access other, related, components. These methods exist to simplify accessing related components.