abstract public repeat ( integer $interval, callable $callback, mixed $data = null ) : string | ||
$interval | integer | The time interval, in milliseconds, to wait between executions. |
$callback | callable | |
$data | mixed | Arbitrary data given to the callback function as the `$data` parameter. |
리턴 | string | An unique identifier that can be used to cancel, enable or disable the watcher. |