Showing 10 of 2,142 results.

Laravel Collection Public API: whereLoose

whereLoose($key, $value) The whereLoose method operates similar to the where method. It filters the collection item's by checking that the given $key has some value equal to the provided $value . The whereLoose method does not check to make sure...

Laravel Translation Helper Function: trans

The trans helper function is used to return the translation for the given key. It defines a $key parameter which corresponds to an array key within the group file. It also accepts an array of replacements (which are passed through the $parameters...

Laravel Collection Public API: min

min($key = null) The min method is the logical opposite of the max method, and accepts the same number of arguments. The min method can be used to retrieve the maximum value of the given $key . By default, the $key is null and will function in a...

Laravel Collection Public API: prepend

prepend($value, $key = null) The prepend method will add an a given $value to the beginning of the collection. You can also supply an optional $key that will be used as the key for the new $value when adding an item to the beginning of an...

The Base Node | Parser Nodes Overview

All nodes within the library ultimately extend the Stillat\BladeParser\Nodes\BaseNode class. This class provides information that is useful to all node types, such as the following: index, : A node's index identifies its position within the source...

Skippable/Ignorable Properties | Introduction & Installation

By default, Attribute Renderer will emit empty strings if a value returns null : 1 <?php 2 3 use function Stillat \ StatamicAttributeRenderer \ attributes ; 4 5 attributes ( [ 6 ' name ' => ' author ' , 7 ' content ' => ' $name ' 8 ] ) ; produces:...