getProductLabelRelationUpdaterPlugins()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 7
c 0
b 0
f 0
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
declare(strict_types = 1);
9
10
namespace Pyz\Zed\ProductLabel;
11
12
use Pyz\Zed\ExampleProductSalePage\Communication\Plugin\ExampleProductSalePageLabelUpdaterPlugin;
13
use Spryker\Zed\ProductAlternativeProductLabelConnector\Communication\Plugin\ProductAlternativeLabelUpdaterPlugin;
14
use Spryker\Zed\ProductDiscontinuedProductLabelConnector\Communication\Plugin\ProductDiscontinuedLabelUpdaterPlugin;
15
use Spryker\Zed\ProductLabel\ProductLabelDependencyProvider as SprykerProductLabelDependencyProvider;
16
use Spryker\Zed\ProductNew\Communication\Plugin\ProductNewLabelUpdaterPlugin;
17
18
class ProductLabelDependencyProvider extends SprykerProductLabelDependencyProvider
19
{
20
    /**
21
     * @return array<\Spryker\Zed\ProductLabel\Dependency\Plugin\ProductLabelRelationUpdaterPluginInterface>
22
     */
23
    protected function getProductLabelRelationUpdaterPlugins(): array
24
    {
25
        return [
26
            new ProductNewLabelUpdaterPlugin(),
27
            new ExampleProductSalePageLabelUpdaterPlugin(),
28
            new ProductAlternativeLabelUpdaterPlugin(),
29
            new ProductDiscontinuedLabelUpdaterPlugin(),
30
        ];
31
    }
32
}
33