Completed
Push — master ( de9ece...1b5216 )
by Gabriel
05:03
created

Race::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 0
cts 2
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Sportic\Timing\RaceTecClient\Models;
4
5
/**
6
 * Class Race
7
 * @package Sportic\Timing\RaceTecClient\Models
8
 */
9
class Race extends AbstractModel
10
{
11
    /**
12
     * @var string
13
     */
14
    protected $name;
15
16
    /**
17
     * @var string
18
     */
19
    protected $href;
20
21
    /**
22
     * @return string
23
     */
24
    public function getName(): string
25
    {
26
        return $this->name;
27
    }
28
29
    /**
30
     * @param string $name
31
     */
32
    public function setName(string $name)
33
    {
34
        $this->name = $name;
35
    }
36
37
    /**
38
     * @return string
39
     */
40
    public function getHref(): string
41
    {
42
        return $this->href;
43
    }
44
45
    /**
46
     * @param string $href
47
     */
48
    public function setHref(string $href)
49
    {
50
        $this->href = $href;
51
    }
52
}
53