prepareProductCampaignAdapter()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/**
4
 * MIT License
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace SprykerEco\Client\FactFinderSdk\Business\Api\Handler\Request;
9
10
class ShoppingCartCampaignRequest extends ProductCampaignRequest
11
{
12
    /**
13
     * @return \FACTFinder\Adapter\ProductCampaign
14
     */
15
    protected function prepareProductCampaignAdapter()
16
    {
17
        $productCampaignAdapter = $this->factFinderConnector
18
            ->createProductCampaignAdapter();
19
20
        $productCampaignAdapter->makeShoppingCartCampaign();
21
22
        return $productCampaignAdapter;
23
    }
24
}
25