| 1 | <?php |
||
| 12 | class ValuelessSnakRow extends SnakRow { |
||
| 13 | |||
| 14 | const TYPE_NO_VALUE = 0; |
||
| 15 | const TYPE_SOME_VALUE = 1; |
||
| 16 | |||
| 17 | private $internalSnakType; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param int $internalSnakType |
||
| 21 | * @param string $propertyId |
||
| 22 | * @param int $snakRole |
||
| 23 | * @param EntityId $subjectId |
||
| 24 | * @param int $statementRank |
||
| 25 | * |
||
| 26 | * @throws InvalidArgumentException |
||
| 27 | */ |
||
| 28 | public function __construct( $internalSnakType, $propertyId, $snakRole, EntityId $subjectId, $statementRank ) { |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @return int |
||
| 40 | */ |
||
| 41 | public function getInternalSnakType() { |
||
| 44 | |||
| 45 | } |
||
| 46 |