Showing 10 of 1,214 results.

getFirstFatalError | Validating Documents

Retrieves the first fatal error. If the error source contains multiple types of errors, such as parser errors and validation errors, all errors will be considered. Fatal errors are considered those that would produce invalid compiled PHP code,...

Laravel Task Scheduler: Limiting the Execution of Tasks

…ia that developers define, as well as limit a tasks execution based on the current environment.Limiting the environments the task can run in is done using the environments($environments) method. This method accepts either an array or multiple...

Before We Get Started | Creating a Hybrid Cache System for Statamic

…the text editor for most of my content management, I've had to rely on Statamic's half-measure caching system and the Stache Watcher to pick up changes at the file-system level; this works just fine for most sites, but the performance still pales...

Modifying the Windows Hosts File

…ntains the mappings of IP addresses to host names. Each 6 # entry should be kept on an individual line. The IP address should 7 # be placed in the first column followed by the corresponding host name. 8 # The IP address and the host name should...

Laravel 5 Collections: The Public API

…erting a Multi-Dimensional Collection Into a Single Dimension With collapse, Laravel 5 Collections: Determining If a Collection Contains an Element With contains, Laravel 5 Collections: Determining if a Collection Contains an Element Using Strict...

An Introduction To Laravel Collections

…y specific functions will not work on an instance of a collection directly. Instead we have to retrieve the underlying array from the collection. The following code will throw an instance of ErrorException stating that array_values expects the...

Filter Search