Passed
Pull Request — master (#14)
by Oleksandr
08:06
created

FactFinderSdkCommunicationFactory   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getLocaleFacade() 0 3 1
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\Zed\FactFinderSdk\Communication;
9
10
use Spryker\Zed\Kernel\Communication\AbstractCommunicationFactory;
11
use SprykerEco\Zed\FactFinderSdk\FactFinderSdkDependencyProvider;
12
13
/**
14
 * @method \SprykerEco\Zed\FactFinderSdk\Persistence\FactFinderSdkQueryContainerInterface getQueryContainer()
15
 * @method \SprykerEco\Zed\FactFinderSdk\FactFinderSdkConfig getConfig()
16
 * @method \SprykerEco\Zed\FactFinderSdk\Business\FactFinderSdkFacadeInterface getFacade()
17
 */
18
class FactFinderSdkCommunicationFactory extends AbstractCommunicationFactory
19
{
20
    /**
21
     * @return \SprykerEco\Zed\FactFinderSdk\Dependency\Facade\FactFinderSdkToLocaleInterface
22
     */
23
    public function getLocaleFacade()
24
    {
25
        return $this->getProvidedDependency(FactFinderSdkDependencyProvider::LOCALE_FACADE);
26
    }
27
}
28