Page MenuHomec4science

PhabricatorNeverTriggerClock.php
No OneTemporary

File Metadata

Created
Sat, Jan 25, 20:14

PhabricatorNeverTriggerClock.php

<?php
/**
* Never triggers an event.
*
* This clock can be used for testing, or to cancel events.
*/
final class PhabricatorNeverTriggerClock
extends PhabricatorTriggerClock {
public function validateProperties(array $properties) {
PhutilTypeSpec::checkMap(
$properties,
array());
}
public function getNextEventEpoch($last_epoch, $is_reschedule) {
return null;
}
}

Event Timeline