Passed
Push — feature/0.7.0 ( f8dc8d...75a66b )
by Ryuichi
42:58
created

Test1Entitiy   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 23
rs 10
c 0
b 0
f 0
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setName() 0 3 1
A setId() 0 3 1
A getId() 0 3 1
A getName() 0 3 1
1
<?php
2
namespace WebStream\Test\Model\Entity;
3
4
class Test1Entitiy
5
{
6
    private $id;
7
    private $name;
8
9
    public function setId($id)
10
    {
11
        $this->id = $id;
12
    }
13
14
    public function getId()
15
    {
16
        return $this->id;
17
    }
18
19
    public function setName($name)
20
    {
21
        $this->name = $name;
22
    }
23
24
    public function getName()
25
    {
26
        return $this->name;
27
    }
28
}
29