File tree Expand file tree Collapse file tree 4 files changed +6
-26
lines changed
dev/tests/api-functional/_files/Magento/TestModuleMSC/etc
lib/internal/Magento/Framework/Api Expand file tree Collapse file tree 4 files changed +6
-26
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,15 @@ class Generator
61
61
* @param \Magento\Webapi\Model\Cache\Type $cache
62
62
* @param \Magento\Framework\Reflection\TypeProcessor $typeProcessor
63
63
* @param \Magento\Store\Model\StoreManagerInterface $storeManager
64
+ * @param \Magento\Framework\Object $customAttributeMap
64
65
*/
65
66
public function __construct (
66
67
\Magento \Webapi \Model \Soap \Config $ apiConfig ,
67
68
Factory $ wsdlFactory ,
68
69
\Magento \Webapi \Model \Cache \Type $ cache ,
69
70
\Magento \Framework \Reflection \TypeProcessor $ typeProcessor ,
70
71
\Magento \Store \Model \StoreManagerInterface $ storeManager ,
71
- \Magento \Framework \Api \ CustomAttributeMap $ customAttributeMap
72
+ \Magento \Framework \Object $ customAttributeMap
72
73
) {
73
74
$ this ->_apiConfig = $ apiConfig ;
74
75
$ this ->_wsdlFactory = $ wsdlFactory ;
Original file line number Diff line number Diff line change 52
52
<argument name =" cache" xsi : type =" object" >Magento\Webapi\Model\Cache\Type</argument >
53
53
</arguments >
54
54
</type >
55
- <type name =" Magento\Webapi\Model\Soap\Config " >
55
+ <type name =" Magento\Webapi\Model\Soap\Wsdl\Generator " >
56
56
<arguments >
57
- <argument name =" customAttributeMap" xsi : type =" object" >Magento\Framework\Api\ CustomAttributeMap</argument >
57
+ <argument name =" customAttributeMap" xsi : type =" object" >CustomAttributeMap</argument >
58
58
</arguments >
59
59
</type >
60
60
</config >
Original file line number Diff line number Diff line change 30
30
<argument name =" resource" xsi : type =" object" >Magento\TestModuleMSC\Model\Resource\Item</argument >
31
31
</arguments >
32
32
</type >
33
- <type name =" Magento\TestModuleMSC\Model\Data\CustomAttributeNestedDataObject" >
34
- <arguments >
35
- <argument name =" resource" xsi : type =" object" >Magento\TestModuleMSC\Model\Resource\Item</argument >
36
- </arguments >
37
- </type >
38
- <type name =" Magento\Framework\Api\CustomAttributeMap" >
33
+ <virtualType name =" CustomAttributeMap" type =" Magento\Framework\Object" >
39
34
<arguments >
40
35
<argument name =" data" xsi : type =" array" >
41
36
<item name =" customAttributeDataObjectInterface" xsi : type =" string" >Magento\TestModuleMSC\Api\Data\CustomAttributeDataObjectInterface</item >
42
37
<item name =" customAttributeNestedDataObjectInterface" xsi : type =" string" >Magento\TestModuleMSC\Api\Data\CustomAttributeNestedDataObjectInterface</item >
43
38
</argument >
44
39
</arguments >
45
- </type >
40
+ </virtualType >
46
41
</config >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments