mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 06:42:42 +01:00
parent
fceabd42e8
commit
9fd2b37593
1 changed files with 4 additions and 4 deletions
|
@ -25,21 +25,21 @@ final class PhabricatorFactUpdateIterator extends PhutilBufferedIterator {
|
||||||
|
|
||||||
private $cursor;
|
private $cursor;
|
||||||
private $object;
|
private $object;
|
||||||
private $start;
|
private $position;
|
||||||
private $ignoreUpdatesDuration = 15;
|
private $ignoreUpdatesDuration = 15;
|
||||||
|
|
||||||
public function __construct(LiskDAO $object) {
|
public function __construct(LiskDAO $object) {
|
||||||
$this->object = $object;
|
$this->object = $object;
|
||||||
$this->start = '0:0';
|
$this->position = '0:0';
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setPosition($position) {
|
public function setPosition($position) {
|
||||||
$this->start = $position;
|
$this->position = $position;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function didRewind() {
|
protected function didRewind() {
|
||||||
$this->cursor = $this->start;
|
$this->cursor = $this->position;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function getCursorFromObject($object) {
|
protected function getCursorFromObject($object) {
|
||||||
|
|
Loading…
Reference in a new issue