ParameterList   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A __invoke() 0 3 1
1
<?php
2
3
namespace EasyIM\Kernel;
4
5
class ParameterList extends Parameter
6
{
7 2
    public function __construct(Parameter ...$parameters)
8
    {
9 2
        parent::__construct($parameters);
10 2
    }
11
12 1
    public function __invoke()
13
    {
14 1
        return $this->transformParameterToArray();
15
    }
16
}
17