Showing 7 of 1,216 result(s)
The following code example will show the very basic usage of the data_set function: Because the $overwrite property is set to true by default the first_name item will now contain the value Jill . If we modified the example to look like this: The...
There is no difference in using the data_set helper function with objects instead of arrays. The following example demonstrates how we could use the data_set function fill a newly created object. The example does not handle nested items. After the...
Creating a facade alias is completely optional. Package developers often include the following steps in their package installation instructions, but it is not required for a facade to work. In the config/app.php file, there is an aliases...
The following tables will list all the facades that are available by default. In addition, they will display the name of the service container binding as well as the class behind the facade. If a particular facade provides additional methods (that...
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.
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.