Completed
Pull Request — master (#5867)
by Luís
20:43 queued 06:00
created

DDC3303Address::getCity()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace Doctrine\Tests\Models\DDC3303;
3
4
/**
5
 * @Embeddable
6
 */
7
class DDC3303Address
8
{
9
    /**
10
     * @Column(type="string")
11
     *
12
     * @var string
13
     */
14
    private $street;
15
16
    /**
17
     * @Column(type="integer")
18
     *
19
     * @var int
20
     */
21
    private $number;
22
23
    /**
24
     * @Column(type="string")
25
     *
26
     * @var string
27
     */
28
    private $city;
29
30
    public function __construct($street, $number, $city)
31
    {
32
        $this->street = $street;
33
        $this->number = $number;
34
        $this->city = $city;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getStreet()
41
    {
42
        return $this->street;
43
    }
44
45
    /**
46
     * @return mixed
47
     */
48
    public function getNumber()
49
    {
50
        return $this->number;
51
    }
52
53
    /**
54
     * @return string
55
     */
56
    public function getCity()
57
    {
58
        return $this->city;
59
    }
60
}
61