Passed
Pull Request — master (#366)
by Dmitriy
10:39
created

MessageBrokerConfig::getProtectedMessageAttributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of the Spryker Commerce OS.
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace Pyz\Zed\MessageBroker;
9
10
use Spryker\Zed\MessageBroker\MessageBrokerConfig as SprykerMessageBrokerConfig;
11
12
class MessageBrokerConfig extends SprykerMessageBrokerConfig
13
{
14
    /**
15
     * @return array<string>
16
     */
17
    public function getDefaultWorkerChannels(): array
18
    {
19
        return [
20
            'payment-events',
21
            'payment-method-commands',
22
            'asset-commands',
23
            'product-review-commands',
24
            'product-commands',
25
            'search-commands',
26
            'tax-commands',
27
        ];
28
    }
29
}
30