WellCommerceStandardEditionBundle   C
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 22

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 22
dl 0
loc 28
rs 5.7894
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
B registerBundles() 0 25 1
1
<?php
2
/*
3
 * WellCommerce Open-Source E-Commerce Platform
4
 *
5
 * This file is part of the WellCommerce package.
6
 *
7
 * (c) Adam Piotrowski <[email protected]>
8
 *
9
 * For the full copyright and license information,
10
 * please view the LICENSE file that was distributed with this source code.
11
 */
12
13
namespace WellCommerce\Bundle\StandardEditionBundle;
14
15
use Doctrine\Common\Collections\Collection;
16
use WellCommerce\Bundle\CoreBundle\HttpKernel\AbstractWellCommerceBundle;
17
18
/**
19
 * Class WellCommerceStandardEditionBundle
20
 *
21
 * @author  Adam Piotrowski <[email protected]>
22
 */
23
final class WellCommerceStandardEditionBundle extends AbstractWellCommerceBundle
24
{
25
    public static function registerBundles(Collection $bundles, string $environment)
26
    {
27
        \WellCommerce\Bundle\CoreBundle\WellCommerceCoreBundle::registerBundles($bundles, $environment);
28
        \WellCommerce\Bundle\AlsoPurchasedBundle\WellCommerceAlsoPurchasedBundle::registerBundles($bundles, $environment);
29
        \WellCommerce\Bundle\ApiBundle\WellCommerceApiBundle::registerBundles($bundles, $environment);
30
        \WellCommerce\Bundle\AppBundle\WellCommerceAppBundle::registerBundles($bundles, $environment);
31
        \WellCommerce\Bundle\SearchBundle\WellCommerceSearchBundle::registerBundles($bundles, $environment);
32
        \WellCommerce\Bundle\GeneratorBundle\WellCommerceGeneratorBundle::registerBundles($bundles, $environment);
33
        \WellCommerce\Bundle\OrderBundle\WellCommerceOrderBundle::registerBundles($bundles, $environment);
34
        \WellCommerce\Bundle\InvoiceBundle\WellCommerceInvoiceBundle::registerBundles($bundles, $environment);
35
        \WellCommerce\Bundle\LastViewedBundle\WellCommerceLastViewedBundle::registerBundles($bundles, $environment);
36
        \WellCommerce\Bundle\CatalogBundle\WellCommerceCatalogBundle::registerBundles($bundles, $environment);
37
        \WellCommerce\Bundle\CouponBundle\WellCommerceCouponBundle::registerBundles($bundles, $environment);
38
        \WellCommerce\Bundle\OAuthBundle\WellCommerceOAuthBundle::registerBundles($bundles, $environment);
39
        \WellCommerce\Bundle\CmsBundle\WellCommerceCmsBundle::registerBundles($bundles, $environment);
40
        \WellCommerce\Bundle\ReviewBundle\WellCommerceReviewBundle::registerBundles($bundles, $environment);
41
        \WellCommerce\Bundle\ShowcaseBundle\WellCommerceShowcaseBundle::registerBundles($bundles, $environment);
42
        \WellCommerce\Bundle\SimilarProductBundle\WellCommerceSimilarProductBundle::registerBundles($bundles, $environment);
43
        \WellCommerce\Bundle\WishlistBundle\WellCommerceWishlistBundle::registerBundles($bundles, $environment);
44
        \WellCommerce\Bundle\FeatureBundle\WellCommerceFeatureBundle::registerBundles($bundles, $environment);
45
        \WellCommerce\Bundle\TemplateEditorBundle\WellCommerceTemplateEditorBundle::registerBundles($bundles, $environment);
46
        \WellCommerce\Bundle\ShipmentBundle\WellCommerceShipmentBundle::registerBundles($bundles, $environment);
47
        
48
        $bundles->add(new self);
49
    }
50
}
51