|
|
@@ -244,17 +244,3 @@ if (!function_exists('__x')) {
|
|
|
}
|
|
|
|
|
|
}
|
|
|
-
|
|
|
-if (!function_exists('collection')) {
|
|
|
-
|
|
|
-/**
|
|
|
- * Returns a new Cake\Collection\Collection object wrapping the passed argument
|
|
|
- *
|
|
|
- * @param \Traversable|array $items The items from which the collection will be built
|
|
|
- * @return \Cake\Collection\Collection
|
|
|
- */
|
|
|
- function collection($items) {
|
|
|
- return new Collection($items);
|
|
|
- }
|
|
|
-
|
|
|
-}
|