collection

Function collection

Returns a new Cake\Collection\Collection object wrapping the passed argument.

Copyright: Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
License: MIT License
Located at Collection/functions.php
collection( Traversable|array $items )

Parameters summary

Traversable|array $items The items from which the collection will be built.