@@ -48,6 +48,9 @@ |
||
| 48 | 48 | */ |
| 49 | 49 | public $institution; |
| 50 | 50 | |
| 51 | + /** |
|
| 52 | + * @param \Rhumsaa\Uuid\Uuid $id |
|
| 53 | + */ |
|
| 51 | 54 | public static function create($id, Institution $institution) |
| 52 | 55 | { |
| 53 | 56 | $institutionWithPersonalRaDetails = new self; |
@@ -98,6 +98,9 @@ discard block |
||
| 98 | 98 | ); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | + /** |
|
| 102 | + * @param string $propertyPath |
|
| 103 | + */ |
|
| 101 | 104 | private function validateGatewayConfiguration($configuration, $propertyPath) |
| 102 | 105 | { |
| 103 | 106 | Assert::isArray($configuration['gateway'], 'Property "gateway" must have an object as value', $propertyPath); |
@@ -105,6 +108,9 @@ discard block |
||
| 105 | 108 | $this->gatewayConfigurationValidator->validate($configuration['gateway'], $propertyPath); |
| 106 | 109 | } |
| 107 | 110 | |
| 111 | + /** |
|
| 112 | + * @param string $propertyPath |
|
| 113 | + */ |
|
| 108 | 114 | private function validateSraaConfiguration($configuration, $propertyPath) |
| 109 | 115 | { |
| 110 | 116 | Assert::isArray( |
@@ -122,6 +128,9 @@ discard block |
||
| 122 | 128 | } |
| 123 | 129 | } |
| 124 | 130 | |
| 131 | + /** |
|
| 132 | + * @param string $propertyPath |
|
| 133 | + */ |
|
| 125 | 134 | private function validateEmailTemplatesConfiguration($configuration, $propertyPath) |
| 126 | 135 | { |
| 127 | 136 | Assert::isArray( |
@@ -133,6 +142,9 @@ discard block |
||
| 133 | 142 | $this->emailTemplatesConfigurationValidator->validate($configuration['email_templates'], $propertyPath); |
| 134 | 143 | } |
| 135 | 144 | |
| 145 | + /** |
|
| 146 | + * @param string $propertyPath |
|
| 147 | + */ |
|
| 136 | 148 | private function validateInstitutionsWithPersonalRaDetailsConfiguration($configuration, $propertyPath) |
| 137 | 149 | { |
| 138 | 150 | Assert::isArray( |