Completed
Push — master ( 3e552c...3368cc )
by Philip
23:18
created

AssignedIntegerIdEntity   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 23
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 4 1
A setId() 0 4 1
1
<?php
2
3
namespace Dontdrinkandroot\Entity;
4
5
/**
6
 * @author Philip Washington Sorst <[email protected]>
7
 */
8
class AssignedIntegerIdEntity
9
{
10
    /**
11
     * @var int
12
     */
13
    private $id;
14
15
    /**
16
     * @return int
17
     */
18
    public function getId(): ?int
19
    {
20
        return $this->id;
21
    }
22
23
    /**
24
     * @param int $id
25
     */
26
    public function setId(int $id)
27
    {
28
        $this->id = $id;
29
    }
30
}
31