芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/somares/vendor/react/event-loop/src/Timer/Timer.php
loop = $loop; $this->interval = (float) $interval; $this->callback = $callback; $this->periodic = (bool) $periodic; $this->data = null; } /** * {@inheritdoc} */ public function getLoop() { return $this->loop; } /** * {@inheritdoc} */ public function getInterval() { return $this->interval; } /** * {@inheritdoc} */ public function getCallback() { return $this->callback; } /** * {@inheritdoc} */ public function setData($data) { $this->data = $data; } /** * {@inheritdoc} */ public function getData() { return $this->data; } /** * {@inheritdoc} */ public function isPeriodic() { return $this->periodic; } /** * {@inheritdoc} */ public function isActive() { return $this->loop->isTimerActive($this); } /** * {@inheritdoc} */ public function cancel() { $this->loop->cancelTimer($this); } }