/**
  * @param StatementListProvider $entity
  */
 private function processStatementListProvider(StatementListProvider $entity)
 {
     if (empty($this->statementDataUpdaters)) {
         return;
     }
     foreach ($entity->getStatements() as $statement) {
         foreach ($this->statementDataUpdaters as $updater) {
             $updater->processStatement($statement);
         }
     }
 }
 /**
  * @param StatementListProvider $statementListProvider
  * @param PropertyId $propertyId
  *
  * @return StatementList
  */
 private function getStatementsWithPropertyId(StatementListProvider $statementListProvider, PropertyId $propertyId)
 {
     return $statementListProvider->getStatements()->getByPropertyId($propertyId);
 }
 private function addStatements(StatementListProvider $statementListProvider)
 {
     $propertyId = new PropertyId('P794');
     $statementListProvider->getStatements()->addNewStatement(new PropertyValueSnak($propertyId, new StringValue('kittens!')), null, null, $this->makeGuid($statementListProvider->getId()));
     return $propertyId;
 }