1 | <?php |
||
23 | final class InstitutionConfigurationId |
||
24 | { |
||
25 | const UUID_NAMESPACE = '09876543-abcd-0987-abcd-098765432109'; |
||
26 | |||
27 | private $institutionConfigurationId; |
||
28 | |||
29 | /** |
||
30 | * @param Institution $institution |
||
31 | * @return InstitutionConfigurationId |
||
32 | */ |
||
33 | public static function from(Institution $institution) |
||
37 | |||
38 | private function __construct($institutionConfigurationId) |
||
42 | |||
43 | /** |
||
44 | * @param InstitutionConfigurationId $otherInstitutionConfigurationId |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function equals(InstitutionConfigurationId $otherInstitutionConfigurationId) |
||
51 | |||
52 | /** |
||
53 | * @return string |
||
54 | */ |
||
55 | public function getInstitutionConfigurationId() |
||
59 | |||
60 | public function jsonSerialize() |
||
64 | |||
65 | public function __toString() |
||
69 | } |
||
70 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.