Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
communication_invalid_topic_name.php
Go to the documentation of this file.
1 <?php
7 return [
8  'communication' => [
9  'topics' => [
10  'customerCreated' => [
11  'name' => 'customerCreated',
12  'is_synchronous' => false,
13  'request' => \Magento\Customer\Api\Data\CustomerInterface::class,
14  'request_type' => 'object_interface',
15  'response' => null,
16  'handlers' => [],
17  ],
18  'customerAdded' => [
19  'name' => 'customerCreated',
20  'is_synchronous' => false,
21  'request' => \Magento\Customer\Api\Data\CustomerInterface::class,
22  'request_type' => 'object_interface',
23  'response' => null,
24  'handlers' => [
25  'customerCreatedFirst' => [
26  'type' => \Magento\Customer\Api\CustomerRepositoryInterface::class,
27  'method' => 'save',
28  ],
29  'customerCreatedSecond' => [
30  'type' => \Magento\Customer\Api\CustomerRepositoryInterface::class,
31  'method' => 'delete',
32  ],
33  'saveNameNotDisabled' => [
34  'type' => \Magento\Customer\Api\CustomerRepositoryInterface::class,
35  'method' => 'save',
36  ],
37  'saveNameNotDisabledDigit' => [
38  'type' => \Magento\Customer\Api\CustomerRepositoryInterface::class,
39  'method' => 'save',
40  ],
41  ],
42  ],
43  ]
44  ]
45 ];