Fix example for cloneRowAndSetValues

Added a fix for missing parameter to the cloneRowAndSetValues function call in its example.
This commit is contained in:
Manish Bhatia 2020-05-13 12:48:54 +05:30 committed by GitHub
parent 072c3bfdb3
commit 1587c59f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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