Showing 7 of 2,041 result(s)
It is possible to quickly resolve the class behind a facade. Facades expose a public method getFacadeRoot which will return the instance of the underlying object the facade is forwarding method calls to. It is convenient that getFacadeRoot...
The CategoriesFilter add-on is simply a custom Statamic Collection Filter that is really good at figuring out how articles on the site are related to one another based on their category. This is made simpler by the fact that I am limiting each...
The each method can also be used with higher order messaging, which allows us to invoke collection methods and access properties on objects using PHP's property accessors syntax. In the following example, we will create modify our User class to...
The following table is simply a list of the download locations for various versions of the Microsoft .NET Framework. Version Download Location 1.1 https://www.microsoft.com/en-us/download/details.aspx?id=26 2.0 (Service Pack 2)...
The "Illuminate\Support\Fluent" class is a useful data type. It allows for the construction of a data "container" similar to an array or instance of stdClass . However, the Fluent class makes it easier to make assumptions about the data the class...
The pad method will pad the current collection instance's elements up to the provided size with the given value (based on the integer size of the collection). This method will return a new collection instance without affecting the current...
I use KeePass to manage my personal passwords on my computer. I’ve used it without incident for quite a while, but that streak recently came to an end after having to completely reinstall Windows 8.1 after a hard drive failure (luckily I do manage...