1 | <?php |
||
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) |
||
78 | |||
79 | /** |
||
80 | * @return int |
||
81 | */ |
||
82 | public function getPoints() |
||
86 | |||
87 | /** |
||
88 | * @param int $points |
||
89 | * |
||
90 | * @return $this |
||
91 | */ |
||
92 | public function setPoints($points) |
||
98 | |||
99 | /** |
||
100 | * @return array|Player[] |
||
101 | */ |
||
102 | public function getPlayers() |
||
106 | |||
107 | /** |
||
108 | * @param array|Player[] $players |
||
109 | * |
||
110 | * @return $this |
||
111 | */ |
||
112 | public function setPlayers($players) |
||
118 | |||
119 | /** |
||
120 | * @return array |
||
121 | */ |
||
122 | public function getScores() |
||
126 | |||
127 | /** |
||
128 | * @param array $scores |
||
129 | * |
||
130 | * @return $this |
||
131 | */ |
||
132 | public function setScores($scores) |
||
138 | } |