FactFinderSdkFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
c 0
b 0
f 0
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A createFactFinderSdkCsv() 0 4 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\Business;
9
10
use Generated\Shared\Transfer\LocaleTransfer;
0 ignored issues
show
Bug introduced by
The type Generated\Shared\Transfer\LocaleTransfer was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
11
use Spryker\Zed\Kernel\Business\AbstractFacade;
12
13
/**
14
 * @method \SprykerEco\Zed\FactFinderSdk\Business\FactFinderSdkBusinessFactory getFactory()
15
 */
16
class FactFinderSdkFacade extends AbstractFacade implements FactFinderSdkFacadeInterface
17
{
18
    /**
19
     * {@inheritDoc}
20
     *
21
     * @api
22
     *
23
     * @param \Generated\Shared\Transfer\LocaleTransfer $localeTransfer
24
     *
25
     * @return void
26
     */
27
    public function createFactFinderSdkCsv(LocaleTransfer $localeTransfer)
28
    {
29
        $this->getFactory()
30
            ->createCsvFile($localeTransfer);
31
    }
32
}
33