58 public function map(callable $mapper);
map(callable $mapper)
Take items of the collection and return a new collection with all the items having the $mapper applie...
$filter
Layout content filter.
contains($item)
Returns true iff the item is in this collection at least once.
A read-only interface to a (possibly mutable) group of items.
filter(callable $filter)
Returns a new collection only containing the elements which pass the filter.