Passed
Push — feature/uploadable ( 7c6d25...a7ed20 )
by Daniel
11:07
created

PageTemplate   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 5
Bugs 1 Features 0
Metric Value
wmc 2
eloc 7
c 5
b 1
f 0
dl 0
loc 20
ccs 0
cts 6
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __clone() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the Silverback API Components Bundle Project
5
 *
6
 * (c) Daniel West <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Silverback\ApiComponentsBundle\Entity\Core;
15
16
use Silverback\ApiComponentsBundle\Entity\Utility\ComponentGroupsTrait;
17
use Silverback\ApiComponentsBundle\Entity\Utility\UiTrait;
18
19
/**
20
 * @author Daniel West <[email protected]>
21
 */
22
class PageTemplate extends AbstractPage
23
{
24
    use UiTrait;
25
    use ComponentGroupsTrait;
26
27
    public ?Layout $layout;
28
29
    public function __construct()
30
    {
31
        parent::__construct();
32
        $this->initComponentGroups();
33
    }
34
35
    public function __clone()
36
    {
37
        parent::__construct();
38
    }
39
}
40