| 1 | <?php |
||
| 7 | final class InstitutionConfigurationId |
||
| 8 | { |
||
| 9 | const UUID_NAMESPACE = '09876543-abcd-0987-abcd-098765432109'; |
||
| 10 | |||
| 11 | private $uuid; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @param Institution $institution |
||
| 15 | * @return InstitutionConfigurationId |
||
| 16 | */ |
||
| 17 | public static function from(Institution $institution) |
||
| 21 | |||
| 22 | private function __construct($uuid) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param InstitutionConfigurationId $otherInstitutionConfigurationId |
||
| 29 | * @return bool |
||
| 30 | */ |
||
| 31 | public function equals(InstitutionConfigurationId $otherInstitutionConfigurationId) |
||
| 35 | } |
||
| 36 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.