UpdateRoleCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 7
c 1
b 0
f 0
dl 0
loc 11
ccs 4
cts 4
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace ProyectoTAU\TAU\Module\Administration\Role\Application\update;
4
5
final class UpdateRoleCommand
6
{
7
    public $id;
8
    public $name;
9
    public $desc;
10
11 3
    public function __construct($id, $name, $desc)
12
    {
13 3
        $this->id = $id;
14 3
        $this->name = $name;
15 3
        $this->desc = $desc;
16 3
    }
17
}
18