Completed
Push — master ( fbd8ce...78ab46 )
by Philip
21:27
created

DefaultUuidEntity   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 21
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getUuid() 0 4 1
A setUuid() 0 4 1
1
<?php
2
3
namespace Dontdrinkandroot\Entity;
4
5
class DefaultUuidEntity extends GeneratedIntegerIdEntity implements UuidEntityInterface
6
{
7
    /** @var string */
8
    private $uuid;
9
10
    /**
11
     * @return string
12
     */
13
    public function getUuid()
14
    {
15
        return $this->uuid;
16
    }
17
18
    /**
19
     * @param string $uuid
20
     */
21
    public function setUuid($uuid)
22
    {
23
        $this->uuid = $uuid;
24
    }
25
}
26