1 | <?php |
||
22 | final class Game |
||
23 | { |
||
24 | /** |
||
25 | * @var Collection |
||
26 | */ |
||
27 | private $achievements; |
||
28 | |||
29 | /** |
||
30 | * @var UuidInterface |
||
31 | */ |
||
32 | private $id; |
||
33 | |||
34 | /** |
||
35 | * Constructor. |
||
36 | */ |
||
37 | 8 | public function __construct() |
|
42 | |||
43 | /** |
||
44 | * Gets all achievements that belongs to the game. |
||
45 | * |
||
46 | * @return Collection |
||
47 | */ |
||
48 | 2 | public function getAchievements() : Collection |
|
52 | |||
53 | /** |
||
54 | * Gets the unique identifier. |
||
55 | * |
||
56 | * @return UuidInterface |
||
57 | */ |
||
58 | 2 | public function getId() : UuidInterface |
|
62 | } |
||
63 |