Completed
Pull Request — master (#368)
by Sven
02:36
created

ConfigFactory::getConfigInstance()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * (c) shopware AG <[email protected]>
4
 * For the full copyright and license information, please view the LICENSE
5
 * file that was distributed with this source code.
6
 */
7
8
namespace ShopwarePlugins\Connect\Components;
9
10
class ConfigFactory
11
{
12
    public static function getConfigInstance()
13
    {
14
        return new Config(Shopware()->Models(), Shopware()->Container()->get('shopware.plugin.cached_config_reader'));
15
    }
16
}
17