Showing 10 of 2,055 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 Collection Public API: pluck

pluck($value, $key = null) The pluck method is used to retrieve the a list of values from the collection. It defines two parameters: $value and $key . The $value indicates which property should become the value in the resulting collection and the...

Laravel Collection Public API: transform

transform(callable $callback) The transform is identical to the map method, but instead of returning a new Collection instance, the transform method will modify the original collection instance. The transform method will return a reference to the...

Compilation Phases | Blade Compiler

…ed document, the transformation step is reversed, and the resulting template is parsed again. The resulting nodes are then used in the following compilation phase., If compiler extensions are available, the process from step two essentially...