Function collection
Returns a new Cake\Collection\Collection object wrapping the passed argument.
Copyright:
Copyright (c) Cake Software Foundation, Inc. (https://cakefoundation.org)
License: MIT License
Located at Collection/functions.php
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. |
Returns
-
Cake\Collection\Collection