for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Wikibase\QueryEngine\SQLStore\SnakStore;
use DataValues\DataValue;
use InvalidArgumentException;
use Wikibase\DataModel\Entity\EntityId;
/**
* @licence GNU GPL v2+
* @author Jeroen De Dauw < [email protected] >
*/
class ValueSnakRow extends SnakRow {
private $value;
* @param DataValue $value
* @param string $propertyId
* @param int $snakRole
* @param EntityId $subjectId
* @param int $statementRank
*
* @throws InvalidArgumentException
public function __construct( DataValue $value, $propertyId, $snakRole, EntityId $subjectId, $statementRank ) {
parent::__construct( $propertyId, $snakRole, $subjectId, $statementRank );
$this->value = $value;
}
* @return DataValue
public function getValue() {
return $this->value;