Merge pull request #1866 from manishbhatias/patch-1
Fix example for cloneRowAndSetValues
This commit is contained in:
commit
f780c5d18f
|
|
@ -190,7 +190,7 @@ Finds a row in a table row identified by `$search` param and clones it as many t
|
||||||
['userId' => 1, 'userName' => 'Batman', 'userAddress' => 'Gotham City'],
|
['userId' => 1, 'userName' => 'Batman', 'userAddress' => 'Gotham City'],
|
||||||
['userId' => 2, 'userName' => 'Superman', 'userAddress' => 'Metropolis'],
|
['userId' => 2, 'userName' => 'Superman', 'userAddress' => 'Metropolis'],
|
||||||
];
|
];
|
||||||
$templateProcessor->cloneRowAndSetValues('userId', );
|
$templateProcessor->cloneRowAndSetValues('userId', $values);
|
||||||
|
|
||||||
Will result in
|
Will result in
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue