We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac20128 commit 42c7608Copy full SHA for 42c7608
README.md
@@ -91,9 +91,9 @@ $this->Invoices->duplicate(4);
91
Sometimes you need to access the original entity, e.g. for setting an ancestor/parent id reference.
92
In this case you can leverage the `$original` entity being passed in as 2nd argument:
93
```php
94
- 'set' => [
95
- 'ancestor_id' => function ($entity, $original) {
96
- return $original->id;
97
- },
98
- ],
+'set' => [
+ 'ancestor_id' => function ($entity, $original) {
+ return $original->id;
+ },
+],
99
```
0 commit comments