$_values
$_values : \Cake\Collection\Collection
The collection from which to extract the values to be inserted
This iterator will insert values into a property of each of the records returned.
The values to be inserted come out of another traversal object. This is useful when you have two separate collections and want to merge them together by placing each of the values from one collection into a property inside the other collection.
$_values : \Cake\Collection\Collection
The collection from which to extract the values to be inserted
__construct(array|\Traversable $into, string $path, array|\Traversable $values)
Constructs a new collection that will dynamically add properties to it out of the values found in $values.
array|\Traversable | $into | The target collection to which the values will be inserted at the specified path. |
string | $path | A dot separated list of properties that need to be traversed to insert the value into the target collection. |
array|\Traversable | $values | The source collection from which the values will be inserted at the specified path. |
filter(callable $c = null) : \Cake\Collection\Iterator\FilterIterator
{@inheritDoc}
callable | $c |
reject(callable $c) : \Cake\Collection\Iterator\FilterIterator
{@inheritDoc}
callable | $c |
map(callable $c) : \Cake\Collection\Iterator\ReplaceIterator
{@inheritDoc}
callable | $c |
insert( $path, $values) : \Cake\Collection\Iterator\InsertIterator
{@inheritDoc}
$path | ||
$values |
buffered() : \Cake\Collection\Iterator\BufferedIterator
{@inheritDoc}
listNested( $dir = 'desc', $nestingKey = 'children') : \Cake\Collection\Iterator\TreeIterator
{@inheritDoc}
$dir | ||
$nestingKey |
stopWhen( $condition) : \Cake\Collection\Iterator\StoppableIterator
{@inheritDoc}
$condition |
cartesianProduct(callable|null $operation = null, callable|null $filter = null) : \Cake\Collection\CollectionInterface
callable|null | $operation | Operation |
callable|null | $filter | Filter |
transpose() : \Cake\Collection\CollectionInterface
{@inheritDoc}