1 | <?php |
||
23 | final class Institution |
||
24 | { |
||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | private $institution; |
||
29 | |||
30 | /** |
||
31 | * @param string $institution may not be an empty string |
||
32 | */ |
||
33 | public function __construct($institution) |
||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function getInstitution() |
||
49 | |||
50 | /** |
||
51 | * @param Institution $otherInstitution |
||
52 | * @return bool |
||
53 | */ |
||
54 | public function equals(Institution $otherInstitution) |
||
58 | |||
59 | public function __toString() |
||
63 | } |
||
64 |