Test Failed
Push — develop ( b13210...c32797 )
by Daniel
04:26
created

SideColumn   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Silverback\ApiComponentBundle\Entity\Component\Layout;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Silverback\ApiComponentBundle\Entity\Component\AbstractComponent;
7
use Silverback\ApiComponentBundle\Entity\Content\ComponentGroup\ComponentGroup;
8
9
/**
10
 * Class Side Column
11
 * @package Silverback\ApiComponentBundle\Entity\Component\Gallery
12
 * @author Daniel West <[email protected]>
13
 * @ORM\Entity()
14
 */
15
class SideColumn extends AbstractComponent
16
{
17
    public function __construct()
18
    {
19
        parent::__construct();
20
        $this->addComponentGroup(new ComponentGroup($this));
21
        $this->addComponentGroup(new ComponentGroup($this));
22
    }
23
}
24