Passed
Push — master ( 1624d7...0be8e1 )
by Daniel
14:55
created

SideColumn   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
ccs 0
cts 4
cp 0
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\Content\Component\Layout;
4
5
use ApiPlatform\Core\Annotation\ApiResource;
6
use Doctrine\ORM\Mapping as ORM;
7
use Silverback\ApiComponentBundle\Entity\Content\Component\AbstractComponent;
8
use Silverback\ApiComponentBundle\Entity\Content\ComponentGroup;
9
10
/**
11
 * Class Side Column
12
 * @package Silverback\ApiComponentBundle\Entity\Content\Component\Gallery
13
 * @author Daniel West <[email protected]>
14
 * @ApiResource()
15
 * @ORM\Entity()
16
 */
17
class SideColumn extends AbstractComponent
18
{
19
    public function __construct()
20
    {
21
        parent::__construct();
22
        $this->addComponentGroup(new ComponentGroup($this));
23
        $this->addComponentGroup(new ComponentGroup($this));
24
    }
25
}
26