1 | <?php |
||
12 | class Team |
||
13 | { |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | protected $name; |
||
18 | |||
19 | /** |
||
20 | * @var Manager |
||
21 | */ |
||
22 | protected $manager; |
||
23 | |||
24 | /** |
||
25 | * @var \DateTime |
||
26 | */ |
||
27 | protected $createdAt; |
||
28 | |||
29 | /** |
||
30 | * @var integer |
||
31 | */ |
||
32 | protected $points; |
||
33 | |||
34 | /** |
||
35 | * @var array|Player[] |
||
36 | */ |
||
37 | protected $players; |
||
38 | |||
39 | /** |
||
40 | * @var array|integer[] |
||
41 | */ |
||
42 | protected $scores; |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getName() |
||
51 | |||
52 | /** |
||
53 | * @param string $name |
||
54 | * |
||
55 | * @return $this |
||
56 | */ |
||
57 | public function setName($name) |
||
63 | |||
64 | /** |
||
65 | * @return Manager |
||
66 | */ |
||
67 | public function getManager() |
||
71 | |||
72 | /** |
||
73 | * @param Manager $manager |
||
74 | * |
||
75 | * @return $this |
||
76 | */ |
||
77 | public function setManager($manager) |
||
83 | |||
84 | /** |
||
85 | * @return \DateTime |
||
86 | */ |
||
87 | public function getCreatedAt() |
||
91 | |||
92 | /** |
||
93 | * @param \DateTime $createdAt |
||
94 | * |
||
95 | * @return $this |
||
96 | */ |
||
97 | public function setCreatedAt($createdAt) |
||
103 | |||
104 | /** |
||
105 | * @return int |
||
106 | */ |
||
107 | public function getPoints() |
||
111 | |||
112 | /** |
||
113 | * @param int $points |
||
114 | * |
||
115 | * @return $this |
||
116 | */ |
||
117 | public function setPoints($points) |
||
123 | |||
124 | /** |
||
125 | * @return array|Player[] |
||
126 | */ |
||
127 | public function getPlayers() |
||
131 | |||
132 | /** |
||
133 | * @param array|Player[] $players |
||
134 | * |
||
135 | * @return $this |
||
136 | */ |
||
137 | public function setPlayers($players) |
||
143 | |||
144 | /** |
||
145 | * @return array |
||
146 | */ |
||
147 | public function getScores() |
||
151 | |||
152 | /** |
||
153 | * @param array $scores |
||
154 | * |
||
155 | * @return $this |
||
156 | */ |
||
157 | public function setScores($scores) |
||
163 | } |