1 | <?php |
||
11 | class RaLocation |
||
|
|||
12 | { |
||
13 | /** |
||
14 | * @var RaLocationId |
||
15 | */ |
||
16 | private $raLocationId; |
||
17 | |||
18 | /** |
||
19 | * @var RaLocationName |
||
20 | */ |
||
21 | private $locationName; |
||
22 | |||
23 | /** |
||
24 | * @var Location |
||
25 | */ |
||
26 | private $location; |
||
27 | |||
28 | /** |
||
29 | * @var ContactInformation |
||
30 | */ |
||
31 | private $contactInformation; |
||
32 | |||
33 | /** |
||
34 | * @param RaLocationId $raLocationId |
||
35 | * @param RaLocationName $raLocationName |
||
36 | * @param Location $location |
||
37 | * @param ContactInformation $contactInformation |
||
38 | * @return RaLocation |
||
39 | */ |
||
40 | public static function create( |
||
48 | |||
49 | private function __construct( |
||
60 | |||
61 | public function hasRaLocationId(RaLocationId $raLocationId) |
||
65 | |||
66 | /** |
||
67 | * @return RaLocationId |
||
68 | */ |
||
69 | public function getRaLocationId() |
||
73 | |||
74 | /** |
||
75 | * @return RaLocationName |
||
76 | */ |
||
77 | public function getLocationName() |
||
81 | |||
82 | /** |
||
83 | * @return Location |
||
84 | */ |
||
85 | public function getLocation() |
||
89 | |||
90 | /** |
||
91 | * @return ContactInformation |
||
92 | */ |
||
93 | public function getContactInformation() |
||
97 | } |
||
98 |