Passed
Push — master ( 321221...bff5d9 )
by Dmitry
03:28 queued 12s
created

getShoppingListItemRequestMapperPlugins()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 1
b 0
f 0
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\Glue\ShoppingListsRestApi;
9
10
use Spryker\Glue\ProductConfigurationShoppingListsRestApi\Plugin\ShoppingListsRestApi\ProductConfigurationRestShoppingListItemsAttributesMapperPlugin;
11
use Spryker\Glue\ProductConfigurationShoppingListsRestApi\Plugin\ShoppingListsRestApi\ProductConfigurationShoppingListItemRequestMapperPlugin;
12
use Spryker\Glue\ShoppingListsRestApi\ShoppingListsRestApiDependencyProvider as SprykerShoppingListsRestApiDependencyProvider;
13
14
class ShoppingListsRestApiDependencyProvider extends SprykerShoppingListsRestApiDependencyProvider
15
{
16
    /**
17
     * @return array<\Spryker\Glue\ShoppingListsRestApiExtension\Dependency\Plugin\RestShoppingListItemsAttributesMapperPluginInterface>
18
     */
19
    protected function getRestShoppingListItemsAttributesMapperPlugins(): array
20
    {
21
        return [
22
            new ProductConfigurationRestShoppingListItemsAttributesMapperPlugin(),
23
        ];
24
    }
25
26
    /**
27
     * @return array<\Spryker\Glue\ShoppingListsRestApiExtension\Dependency\Plugin\ShoppingListItemRequestMapperPluginInterface>
28
     */
29
    protected function getShoppingListItemRequestMapperPlugins(): array
30
    {
31
        return [
32
            new ProductConfigurationShoppingListItemRequestMapperPlugin(),
33
        ];
34
    }
35
}
36