3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
6
7
namespace Magento \Quote \Model ;
7
8
8
9
use Magento \Framework \Api \ExtensionAttribute \JoinProcessorInterface ;
24
25
use Magento \Store \Model \StoreManagerInterface ;
25
26
26
27
/**
28
+ * Quote repository.
29
+ *
27
30
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
28
31
*/
29
32
class QuoteRepository implements CartRepositoryInterface
@@ -125,7 +128,7 @@ public function __construct(
125
128
}
126
129
127
130
/**
128
- * { @inheritdoc}
131
+ * @inheritdoc
129
132
*/
130
133
public function get ($ cartId , array $ sharedStoreIds = [])
131
134
{
@@ -138,7 +141,7 @@ public function get($cartId, array $sharedStoreIds = [])
138
141
}
139
142
140
143
/**
141
- * { @inheritdoc}
144
+ * @inheritdoc
142
145
*/
143
146
public function getForCustomer ($ customerId , array $ sharedStoreIds = [])
144
147
{
@@ -152,7 +155,7 @@ public function getForCustomer($customerId, array $sharedStoreIds = [])
152
155
}
153
156
154
157
/**
155
- * { @inheritdoc}
158
+ * @inheritdoc
156
159
*/
157
160
public function getActive ($ cartId , array $ sharedStoreIds = [])
158
161
{
@@ -164,7 +167,7 @@ public function getActive($cartId, array $sharedStoreIds = [])
164
167
}
165
168
166
169
/**
167
- * { @inheritdoc}
170
+ * @inheritdoc
168
171
*/
169
172
public function getActiveForCustomer ($ customerId , array $ sharedStoreIds = [])
170
173
{
@@ -176,7 +179,7 @@ public function getActiveForCustomer($customerId, array $sharedStoreIds = [])
176
179
}
177
180
178
181
/**
179
- * { @inheritdoc}
182
+ * @inheritdoc
180
183
*/
181
184
public function save (CartInterface $ quote )
182
185
{
@@ -196,7 +199,7 @@ public function save(CartInterface $quote)
196
199
}
197
200
198
201
/**
199
- * { @inheritdoc}
202
+ * @inheritdoc
200
203
*/
201
204
public function delete (CartInterface $ quote )
202
205
{
@@ -232,7 +235,7 @@ protected function loadQuote($loadMethod, $loadField, $identifier, array $shared
232
235
}
233
236
234
237
/**
235
- * { @inheritdoc}
238
+ * @inheritdoc
236
239
*/
237
240
public function getList (SearchCriteriaInterface $ searchCriteria )
238
241
{
@@ -277,6 +280,7 @@ protected function addFilterGroupToCollection(FilterGroup $filterGroup, QuoteCol
277
280
278
281
/**
279
282
* Get new SaveHandler dependency for application code.
283
+ *
280
284
* @return SaveHandler
281
285
* @deprecated 100.1.0
282
286
*/
@@ -289,6 +293,8 @@ private function getSaveHandler()
289
293
}
290
294
291
295
/**
296
+ * Get load handler instance.
297
+ *
292
298
* @return LoadHandler
293
299
* @deprecated 100.1.0
294
300
*/
0 commit comments