1 | <?php |
||
19 | abstract class Actor extends StatementObject |
||
20 | { |
||
21 | private $iri; |
||
22 | private $name; |
||
23 | |||
24 | public function __construct(InverseFunctionalIdentifier $iri = null, string $name = null) |
||
29 | |||
30 | /** |
||
31 | * Returns the Actor's {@link InverseFunctionalIdentifier inverse functional identifier}. |
||
32 | */ |
||
33 | public function getInverseFunctionalIdentifier(): ?InverseFunctionalIdentifier |
||
37 | |||
38 | 15 | /** |
|
39 | * Returns the name of the {@link Agent} or {@link Group}. |
||
40 | 15 | */ |
|
41 | 15 | public function getName(): ?string |
|
45 | |||
46 | /** |
||
47 | * Checks if another actor is equal. |
||
48 | * |
||
49 | 19 | * Two actors are equal if and only if all of their properties are equal. |
|
50 | */ |
||
51 | 19 | public function equals(StatementObject $actor): bool |
|
75 | } |
||
76 |