File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
app/code/Magento/QuoteGraphQl/Model/Resolver Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 14
14
use Magento \Framework \GraphQl \Query \ResolverInterface ;
15
15
use Magento \Framework \GraphQl \Schema \Type \ResolveInfo ;
16
16
use Magento \Quote \Model \Quote ;
17
- use Magento \Quote \Model \QuoteIdMaskFactory ;
18
17
use Magento \Quote \Model \QuoteIdToMaskedQuoteIdInterface ;
19
- use Magento \Quote \Model \ResourceModel \Quote \QuoteIdMask as QuoteIdMaskResourceModel ;
20
18
21
19
/**
22
20
* Get cart id from the cart
23
21
*/
24
22
class MaskedCartId implements ResolverInterface
25
23
{
26
- /**
27
- * @var QuoteIdMaskFactory
28
- *
29
- */
30
- private $ quoteIdMaskFactory ;
31
-
32
- /**
33
- * @var QuoteIdMaskResourceModel
34
- */
35
- private $ quoteIdMaskResourceModel ;
36
-
37
24
/**
38
25
* @var QuoteIdToMaskedQuoteIdInterface
39
26
*/
40
27
private $ quoteIdToMaskedQuoteId ;
41
28
42
29
/**
43
- * @param QuoteIdMaskFactory $quoteIdMaskFactory
44
- * @param QuoteIdMaskResourceModel $quoteIdMaskResourceModel
45
30
* @param QuoteIdToMaskedQuoteIdInterface $quoteIdToMaskedQuoteId
46
31
*/
47
32
public function __construct (
48
- QuoteIdMaskFactory $ quoteIdMaskFactory ,
49
- QuoteIdMaskResourceModel $ quoteIdMaskResourceModel ,
50
33
QuoteIdToMaskedQuoteIdInterface $ quoteIdToMaskedQuoteId
51
34
) {
52
- $ this ->quoteIdMaskFactory = $ quoteIdMaskFactory ;
53
- $ this ->quoteIdMaskResourceModel = $ quoteIdMaskResourceModel ;
54
35
$ this ->quoteIdToMaskedQuoteId = $ quoteIdToMaskedQuoteId ;
55
36
}
56
37
You can’t perform that action at this time.
0 commit comments