| 1 | <?php |
||
| 14 | abstract class SnakRow { |
||
| 15 | |||
| 16 | private $propertyId; |
||
| 17 | private $snakRole; |
||
| 18 | private $subjectId; |
||
| 19 | private $statementRank; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string $propertyId |
||
| 23 | * @param int $snakRole |
||
| 24 | * @param EntityId $subjectId |
||
| 25 | * @param int $statementRank |
||
| 26 | * |
||
| 27 | * @throws InvalidArgumentException |
||
| 28 | */ |
||
| 29 | public function __construct( $propertyId, $snakRole, EntityId $subjectId, $statementRank ) { |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getPropertyId() { |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function getSnakRole() { |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @return EntityId |
||
| 60 | */ |
||
| 61 | public function getSubjectId() { |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return int |
||
| 67 | */ |
||
| 68 | public function getStatementRank() { |
||
| 71 | |||
| 72 | } |
||
| 73 |