Completed
Pull Request — master (#5)
by Serhii
12:27 queued 04:47
created

getHeaderNavigationWidgetConfig()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * MIT License
5
 * For full license information, please view the LICENSE file that was distributed with this source code.
6
 */
7
8
namespace SprykerEco\Yves\FactFinderWebComponents\Model\WebComponentsConfigProvider;
9
10
use SprykerEco\Yves\FactFinderWebComponents\FactFinderWebComponentsConfig;
11
12
class WebComponentsConfigProvider implements WebComponentsConfigProviderInterface
13
{
14
    /**
15
     * @var \SprykerEco\Yves\FactFinderWebComponents\FactFinderWebComponentsConfig
16
     */
17
    protected $config;
18
19
    /**
20
     * @param \SprykerEco\Yves\FactFinderWebComponents\FactFinderWebComponentsConfig $config
21
     */
22
    public function __construct(FactFinderWebComponentsConfig $config)
23
    {
24
        $this->config = $config;
25
    }
26
27
    /**
28
     * @return array
29
     */
30
    public function getAsnWidgetConfig(): array
31
    {
32
        return $this->config->getAsnSliderConfig();
33
    }
34
35
    /**
36
     * @return array
37
     */
38
    public function getBreadcrumbConfig(): array
39
    {
40
        return $this->config->getBreadcrumbConfig();
41
    }
42
43
    /**
44
     * @return array
45
     */
46
    public function getCampaignWidgetConfig(): array
47
    {
48
        return $this->config->getCampaignWidgetConfig();
49
    }
50
51
    /**
52
     * @return array
53
     */
54
    public function getCommunicationConfig(): array
55
    {
56
        return $this->config->getCommunicationConfig();
57
    }
58
59
    /**
60
     * @return array
61
     */
62
    public function getHeaderNavigationWidgetConfig(): array
63
    {
64
        return $this->config->getHeaderNavigationWidgetConfig();
65
    }
66
67
    /**
68
     * @return array
69
     */
70
    public function getPagingWidgetConfig(): array
71
    {
72
        return $this->config->getPagingWidgetConfig();
73
    }
74
75
    /**
76
     * @return array
77
     */
78
    public function getProductsPerPageWidgetConfig(): array
79
    {
80
        return $this->config->getProductsPerPageWidgetConfig();
81
    }
82
83
    /**
84
     * @return array
85
     */
86
    public function getPushedProductsWidgetConfig(): array
87
    {
88
        return $this->config->getPushedProductsWidgetConfig();
89
    }
90
91
    /**
92
     * @return array
93
     */
94
    public function getRecommendationConfig(): array
95
    {
96
        return array_merge(
97
            $this->config->getRecommendationConfig(),
98
            $this->config->getRecommendationRecordIdConfig()
99
        );
100
    }
101
102
    /**
103
     * @return array
104
     */
105
    public function getRecordListConfig(): array
106
    {
107
        return $this->config->getRecordListConfig();
108
    }
109
110
    /**
111
     * @return array
112
     */
113
    public function getSuggestConfig(): array
114
    {
115
        return $this->config->getSuggestConfig();
116
    }
117
118
    /**
119
     * @return array
120
     */
121
    public function getCheckoutTrackingConfig(): array
122
    {
123
        return $this->config->getCheckoutTrackingConfig();
124
    }
125
126
    /**
127
     * @return array
128
     */
129
    public function getSearchBoxConfig(): array
130
    {
131
        return $this->config->getSearchBoxConfig();
132
    }
133
134
    /**
135
     * @return array
136
     */
137
    public function getSimilarProductsConfig(): array
138
    {
139
        return array_merge(
140
            $this->config->getSimilarProductIdConfig(),
141
            $this->config->getSimilarProductsConfig()
142
        );
143
    }
144
145
    /**
146
     * @return array
147
     */
148
    public function getSortBoxWidgetConfig(): array
149
    {
150
        return $this->config->getSortBoxWidgetConfig();
151
    }
152
153
    /**
154
     * @return array
155
     */
156
    public function getTagCloudWidgetConfig(): array
157
    {
158
        return $this->config->getTagCloudWidgetConfig();
159
    }
160
}
161