Showing 10 of 1,204 results.

Laravel Array Helper Function: array_flatten

The flatten helper method is similar to the dot method in that it takes a multi-dimensional array and transforms it into a new array with only one dimension. While the dot method preserves the keys by separating them with dots , the flatten method...

Laravel Helper Function: logger

…er ( ' This is a log message ' , $ context ) ; 11 12 // A log message where the context is an array of objects. 13 logger ( ' This is another log message ' , [ ( object ) $ context ] ) ; The above code would produce results similar to the...

Creating a Stacked Content Layout with Statamic 3 and Antlers

…emplating language: Utilize mutliple content queries (i.e., more than one, collection, tag), Array plucking and the, offset, modifier, Using the, offset, and, limit, modifiers We could utilize multiple collection tags to retrieve the first...

Filter Search