Passed
Push — karoly/akeneo-skeleton ( dfb631 )
by Karoly
05:38
created

AkeneoPimBusinessFactory::createCategorySyncer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
/**
4
 * Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
5
 * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
6
 */
7
8
namespace Spryker\Zed\AkeneoPim\Business;
9
10
use Spryker\Zed\AkeneoPim\Business\Syncer\CategorySyncer;
11
use Spryker\Zed\AkeneoPim\Business\Syncer\ProductConcreteSyncer;
12
use Spryker\Zed\Kernel\Business\AbstractBusinessFactory;
13
14
/**
15
 * @method \Spryker\Zed\AkeneoPim\Persistence\AkeneoPimEntityManagerInterface getEntityManager()
16
 * @method \Spryker\Zed\AkeneoPim\Persistence\AkeneoPimRepositoryInterface getRepository()
17
 * @method \Spryker\Zed\AkeneoPim\AkeneoPimConfig getConfig()
18
 */
19
class AkeneoPimBusinessFactory extends AbstractBusinessFactory
20
{
21
    public function createProductConcreteSyncer(): ProductConcreteSyncer
22
    {
23
        return new ProductConcreteSyncer();
24
    }
25
26
    public function createCategorySyncer(): CategorySyncer
27
    {
28
        return new CategorySyncer();
29
    }
30
}
31