Passed
Push — master ( 655d8b...5cecb4 )
by Managlea
59s
created

Product::getDateOfBirth()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Managlea\Tests\Model;
4
5
6
class Product
7
{
8
    protected $id;
9
    protected $name;
10
    protected $dateOfBirth;
11
12
    public function getId()
13
    {
14
        return $this->id;
15
    }
16
17
    public function setName($name)
18
    {
19
        $this->name = $name;
20
    }
21
22
    public function getName()
23
    {
24
        return $this->name;
25
    }
26
27
    public function setDateOfBirth($dateOfBirth)
28
    {
29
        $this->dateOfBirth = $dateOfBirth;
30
    }
31
32
    public function getDateOfBirth()
33
    {
34
        return $this->dateOfBirth;
35
    }
36
}