File tree 7 files changed +117
-97
lines changed
integration/testsuite/Magento/Framework/Communication
static/testsuite/Magento/Test/Php/_files/phpstan/blacklist
lib/internal/Magento/Framework/Communication/Config/Reader
7 files changed +117
-97
lines changed Original file line number Diff line number Diff line change 229
229
</arguments >
230
230
</type >
231
231
<preference for =" Magento\AsynchronousOperations\Model\ConfigInterface" type =" Magento\WebapiAsync\Model\Config\Proxy" />
232
+ <virtualType name =" Magento\Framework\Communication\Config\Reader\XmlReader" type =" Magento\Framework\Config\Reader\Filesystem" >
233
+ <arguments >
234
+ <argument name =" converter" xsi : type =" object" >Magento\Framework\Communication\Config\Reader\XmlReader\Converter</argument >
235
+ <argument name =" schemaLocator" xsi : type =" object" >Magento\Framework\Communication\Config\Reader\XmlReader\SchemaLocator</argument >
236
+ <argument name =" fileName" xsi : type =" string" >communication.xml</argument >
237
+ <argument name =" idAttributes" xsi : type =" array" >
238
+ <item name =" /config/topic" xsi : type =" string" >name</item >
239
+ <item name =" /config/topic/handler" xsi : type =" string" >name</item >
240
+ </argument >
241
+ </arguments >
242
+ </virtualType >
232
243
<type name =" Magento\Framework\Communication\Config\CompositeReader" >
233
244
<arguments >
234
245
<argument name =" readers" xsi : type =" array" >
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 33
33
'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
34
34
'method ' => 'delete ' ,
35
35
],
36
+ 'customerCreatedExtra ' => [
37
+ 'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
38
+ 'method ' => 'save ' ,
39
+ ],
36
40
'saveNameNotDisabled ' => [
37
41
'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
38
42
'method ' => 'save ' ,
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Communication/etc/communication.xsd" >
9
+ <topic name =" customerAdded" request =" string[]" >
10
+ <handler name =" customerCreatedExtra" type =" Magento\Customer\Api\CustomerRepositoryInterface" method =" save" />
11
+ </topic >
12
+ </config >
Original file line number Diff line number Diff line change 35
35
'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
36
36
'method ' => 'delete ' ,
37
37
],
38
+ 'customerCreatedExtra ' => [
39
+ 'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
40
+ 'method ' => 'save ' ,
41
+ ],
38
42
'saveNameNotDisabled ' => [
39
43
'type ' => \Magento \Customer \Api \CustomerRepositoryInterface::class,
40
44
'method ' => 'save ' ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ lib/internal/Magento/Framework/Interception/Test/Unit/Code/Generator/Interceptor
9
9
lib/internal/Magento/Framework/Interception/Test/Unit/Config/ConfigTest.php
10
10
dev/tests/integration/framework/deployTestModules.php
11
11
dev/tests/integration/testsuite/Magento/Framework/Code/Generator/AutoloaderTest.php
12
+ dev/tests/integration/testsuite/Magento/Framework/Communication/ConfigTest.php
12
13
dev/tests/integration/testsuite/Magento/Framework/Filter/DirectiveProcessor/SimpleDirectiveTest.php
13
14
dev/tests/integration/testsuite/Magento/Framework/Session/ConfigTest.php
14
15
dev/tests/integration/testsuite/Magento/Framework/Session/SessionManagerTest.php
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments