NamedIdentity   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Blackmine\Model;
6
7
use Blackmine\Collection\IdentityCollection;
8
9
/**
10
 * @method int getId()
11
 * @method string getName()
12
 *
13
 * @method setName(string $name): void
14
 * @method setId(int $id): void
15
 */
16
class NamedIdentity extends Identity
17
{
18
    public static IdentityCollection $values;
19
20
    public function __construct(protected ?int $id = null, protected ?string $name = null)
21
    {
22
    }
23
}
24