Passed
Pull Request — master (#1)
by Grebenikov
04:34
created

MinuboCustomerExportPlugin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A exportData() 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\Minubo\Communication\Plugin;
9
10
use Spryker\Zed\Kernel\Communication\AbstractPlugin;
11
use SprykerEco\Zed\Minubo\Dependency\Plugin\MinuboExportPluginInterface;
12
13
/**
14
 * @method \SprykerEco\Zed\Minubo\MinuboConfig getConfig()
15
 * @method \SprykerEco\Zed\Minubo\Communication\MinuboCommunicationFactory getFactory()
16
 * @method \SprykerEco\Zed\Minubo\Business\MinuboFacadeInterface getFacade()
17
 */
18
class MinuboCustomerExportPlugin extends AbstractPlugin implements MinuboExportPluginInterface
19
{
20
    /**
21
     * @return void
22
     */
23
    public function exportData(): void
24
    {
25
        $this->getFacade()
26
            ->exportCustomerData();
27
    }
28
}
29