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 88660e7 commit 9843afcCopy full SHA for 9843afc
app/code/Magento/CustomerGraphQl/Model/Resolver/Cache/Customer/ModelHydrator.php
@@ -1,7 +1,7 @@
1
<?php
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details.
+ * Copyright 2023 Adobe
+ * All Rights Reserved.
5
*/
6
declare(strict_types=1);
7
@@ -59,4 +59,14 @@ public function hydrate(array &$resolverData): void
59
$resolverData['model'] = $this->customerModels[$resolverData['model_id']];
60
}
61
62
+
63
+ /**
64
+ * Reset customerModels
65
+ *
66
+ * @return void
67
+ */
68
+ public function _resetState(): void
69
+ {
70
+ $this->customerModels = [];
71
+ }
72
0 commit comments