Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/query/HeraldWebhookRequestQuery.php
Show All 23 Lines | public function withWebhookPHIDs(array $phids) { | ||||
$this->webhookPHIDs = $phids; | $this->webhookPHIDs = $phids; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function newResultObject() { | public function newResultObject() { | ||||
return new HeraldWebhookRequest(); | return new HeraldWebhookRequest(); | ||||
} | } | ||||
protected function loadPage() { | |||||
return $this->loadStandardPage($this->newResultObject()); | |||||
} | |||||
public function withLastRequestEpochBetween($epoch_min, $epoch_max) { | public function withLastRequestEpochBetween($epoch_min, $epoch_max) { | ||||
$this->lastRequestEpochMin = $epoch_min; | $this->lastRequestEpochMin = $epoch_min; | ||||
$this->lastRequestEpochMax = $epoch_max; | $this->lastRequestEpochMax = $epoch_max; | ||||
return $this; | return $this; | ||||
} | } | ||||
public function withLastRequestResults(array $results) { | public function withLastRequestResults(array $results) { | ||||
$this->lastRequestResults = $results; | $this->lastRequestResults = $results; | ||||
▲ Show 20 Lines • Show All 83 Lines • Show Last 20 Lines |