@@ 64-74 (lines=11) @@ | ||
61 | return new self($raLocationId, $raLocationName, $location, $contactInformation); |
|
62 | } |
|
63 | ||
64 | private function __construct( |
|
65 | RaLocationId $raLocationId, |
|
66 | RaLocationName $raLocationName, |
|
67 | Location $location, |
|
68 | ContactInformation $contactInformation |
|
69 | ) { |
|
70 | $this->raLocationId = $raLocationId; |
|
71 | $this->raLocationName = $raLocationName; |
|
72 | $this->location = $location; |
|
73 | $this->contactInformation = $contactInformation; |
|
74 | } |
|
75 | ||
76 | /** |
|
77 | * @param RaLocationName $raLocationName |
@@ 55-67 (lines=13) @@ | ||
52 | */ |
|
53 | public $contactInformation; |
|
54 | ||
55 | public function __construct( |
|
56 | InstitutionConfigurationId $institutionConfigurationId, |
|
57 | RaLocationId $raLocationId, |
|
58 | RaLocationName $raLocationName, |
|
59 | Location $location, |
|
60 | ContactInformation $contactInformation |
|
61 | ) { |
|
62 | $this->institutionConfigurationId = $institutionConfigurationId; |
|
63 | $this->raLocationId = $raLocationId; |
|
64 | $this->raLocationName = $raLocationName; |
|
65 | $this->location = $location; |
|
66 | $this->contactInformation = $contactInformation; |
|
67 | } |
|
68 | ||
69 | public static function deserialize(array $data) |
|
70 | { |