Showing 7 of 1,216 result(s)

/blog/2016/11/21/laravel-facades-part-two-using-facades

This article is part of a four part series all about Laravel facades. Each of the parts are listed below: Laravel Facades Part One: An Introduction to Facades, Laravel Facades Part Two: Using Facades, ., Laravel Facades Part Three: Creating Custom...

/blog/2016/11/29/laravel-viewerrorbag-public-api-count

…instance. Because of this adding the MessageBag formErrors did not affect the count, but setting the same MessageBag instance as the value for the default key did change the results of the count method.This article is part of a mini-series all...

/blog/2016/11/29/laravel-viewerrorbag-public-api-get_bag

…e MessageBag instances from the ViewErrorBag instance is dynamically access a property, where the property name is the intended key. This technique exhibits the same behavior as using the getBag method.This article is part of a mini-series all...

/blog/2016/11/29/laravel-viewerrorbag-public-api-getbags

…instances that are currently stored within the ViewErrorBag instance. After the above code has executed, the $messageBags variable would be an array and contain a value similar to the following output:This article is part of a mini-series all...

/blog/2016/11/29/laravel-viewerrorbag-public-api-hasbag

…a MessageBag instance exists within the ViewErrorBag instance with the given $key . The $key is set to default unless it is changed. The following example will highlight the usage of the hasBag method.This article is part of a mini-series all...

/blog/2016/11/29/laravel-viewerrorbag-public-api-put

…g instance for a given key: After the above code has executed, the $beforeChange variable will contain the old MessageBag instance and the $afterChange variable will contain the new MessageBag instance.This article is part of a mini-series all...

/blog/2023/09/03/creating-a-hybrid-cache-system-for-statamic-part-three#content-bypassing-the-cache

…cache completely. Because our cache doesn't rely on purely static files, it still evaluates PHP for each request, making it simpler to detect logged-in users and turn off the cache than a strictly static HTML caching system. Yet, since we can't...

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.