FactFinderNgCommunicationFactory   A
last analyzed

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 getFactFinderNgClient() 0 3 1
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\Zed\FactFinderNg\Communication;
9
10
use Spryker\Zed\Kernel\Communication\AbstractCommunicationFactory;
11
use SprykerEco\Client\FactFinderNg\FactFinderNgClientInterface;
12
use SprykerEco\Zed\FactFinderNg\FactFinderNgDependencyProvider;
13
14
class FactFinderNgCommunicationFactory extends AbstractCommunicationFactory
15
{
16
    /**
17
     * @return \SprykerEco\Client\FactFinderNg\FactFinderNgClientInterface
18
     */
19
    public function getFactFinderNgClient(): FactFinderNgClientInterface
20
    {
21
        return $this->getProvidedDependency(FactFinderNgDependencyProvider::CLIENT_FACT_FINDER_NG);
22
    }
23
}
24