Test Failed
Push — master ( e8eefc...172ecb )
by kouinkouin
01:39
created

Street::getBox()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace kouinkouin\StreetParser;
4
5
class Street
6
{
7
    /** @var string */
8
    private $name;
9
    /** @var string */
10
    private $number;
11
    /** @var string */
12
    private $box;
13
    /** @var int */
14
    private $score;
15
16
    /**
17
     * @return string
18
     */
19
    public function getName()
20
    {
21
        return $this->name;
22
    }
23
24
    /**
25
     * @param string $name
26
     */
27
    public function setName($name)
28
    {
29
        $this->name = $name;
30
31
        return $this;
32
    }
33
34
    /**
35
     * @return string
36
     */
37
    public function getNumber()
38
    {
39
        return $this->number;
40
    }
41
42
    /**
43
     * @param string $number
44
     */
45
    public function setNumber($number)
46
    {
47
        $this->number = $number;
48
49
        return $this;
50
    }
51
52
    /**
53
     * @return string
54
     */
55
    public function getBox()
56
    {
57
        return $this->box;
58
    }
59
60
    /**
61
     * @param string $box
62
     */
63
    public function setBox($box)
64
    {
65
        $this->box = $box;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @return int
72
     */
73
    public function getScore()
74
    {
75
        return $this->score;
76
    }
77
78
    /**
79
     * @param int $score
80
     */
81
    public function setScore($score)
82
    {
83
        $this->score = $score;
84
85
        return $this;
86
    }
87
}
88