Completed
Push — master ( 06117a...d54351 )
by Rafael
03:01
created

Team::getName()   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
/**
4
 * LICENSE: This file is subject to the terms and conditions defined in
5
 * file 'LICENSE', which is part of this source code package.
6
 *
7
 * @copyright 2016 Copyright(c) - All rights reserved.
8
 */
9
10
namespace Rafrsr\LibArray2Object\Tests\Fixtures;
11
12
class Team extends AbstractTeam
13
{
14
    /**
15
     * @var Manager
16
     */
17
    protected $manager;
18
19
    /**
20
     * @var \DateTime
21
     */
22
    protected $createdAt;
23
24
    /**
25
     * @var integer
26
     */
27
    protected $points;
28
29
    /**
30
     * @var array|Player[]
31
     */
32
    protected $players;
33
34
    /**
35
     * @var array|integer[]
36
     */
37
    protected $scores;
38
39
    /**
40
     * @return Manager
41
     */
42
    public function getManager()
43
    {
44
        return $this->manager;
45
    }
46
47
    /**
48
     * @param Manager $manager
49
     *
50
     * @return $this
51
     */
52
    public function setManager($manager)
53
    {
54
        $this->manager = $manager;
55
56
        return $this;
57
    }
58
59
    /**
60
     * @return \DateTime
61
     */
62
    public function getCreatedAt()
63
    {
64
        return $this->createdAt;
65
    }
66
67
    /**
68
     * @param \DateTime $createdAt
69
     *
70
     * @return $this
71
     */
72
    public function setCreatedAt($createdAt)
73
    {
74
        $this->createdAt = $createdAt;
75
76
        return $this;
77
    }
78
79
    /**
80
     * @return int
81
     */
82
    public function getPoints()
83
    {
84
        return $this->points;
85
    }
86
87
    /**
88
     * @param int $points
89
     *
90
     * @return $this
91
     */
92
    public function setPoints($points)
93
    {
94
        $this->points = $points;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @return array|Player[]
101
     */
102
    public function getPlayers()
103
    {
104
        return $this->players;
105
    }
106
107
    /**
108
     * @param array|Player[] $players
109
     *
110
     * @return $this
111
     */
112
    public function setPlayers($players)
113
    {
114
        $this->players = $players;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @return array
121
     */
122
    public function getScores()
123
    {
124
        return $this->scores;
125
    }
126
127
    /**
128
     * @param array $scores
129
     *
130
     * @return $this
131
     */
132
    public function setScores($scores)
133
    {
134
        $this->scores = $scores;
135
136
        return $this;
137
    }
138
}