/**
  * {@inheritdoc}
  */
 public function equals(IdentifierInterface $identifier)
 {
     return $this->toString() === $identifier->toString();
 }
 /**
  * {@inheritdoc}
  */
 public function findEventFromVersion($table, IdentifierInterface $id, $version)
 {
     $query = new Query(array('uuid' => $id->toString(), 'status' => 'OK', 'version' => array('$gt' => $version)), array('sort' => array('version' => 1)));
     return $this->query($query, $this->getNamespace($table));
 }