Restore previous stuff

This commit is contained in:
James Cole
2024-05-10 12:51:02 +02:00
parent aa5c4c20e9
commit c6c8f282e2
9 changed files with 96 additions and 20 deletions

View File

@@ -51,6 +51,11 @@ class AccountEnrichment implements EnrichmentInterface
$this->collection->transform(function (Account $account) {
$account->user_array = ['id' => 1,'bla bla' => 'bla'];
$account->balances = collect([
['balance_id' => 1,'balance' => 5],
['balance_id' => 2,'balance' => 5],
['balance_id' => 3,'balance' => 5],
]);
return $account;
});