RememberConstructorParamTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 2
b 0
f 2
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Lit\Nexus\Traits;
6
7
trait RememberConstructorParamTrait
8
{
9
    protected $params;
10
11
    public function __construct(...$params)
12
    {
13
        $this->params = $params;
14
    }
15
}
16