File tree Expand file tree Collapse file tree 2 files changed +21
-5
lines changed
Expand file tree Collapse file tree 2 files changed +21
-5
lines changed Original file line number Diff line number Diff line change 22
33namespace React \EventLoop \Timer ;
44
5- class Timer implements TimerInterface
5+ /**
6+ * The actual connection implementation for TimerInterface
7+ *
8+ * This class should only be used internally, see TimerInterface instead.
9+ *
10+ * @see TimerInterface
11+ * @internal
12+ */
13+ final class Timer implements TimerInterface
614{
715 const MIN_INTERVAL = 0.000001 ;
816
9- protected $ interval ;
10- protected $ callback ;
11- protected $ periodic ;
17+ private $ interval ;
18+ private $ callback ;
19+ private $ periodic ;
1220
1321 /**
1422 * Constructor initializes the fields of the Timer
Original file line number Diff line number Diff line change 55use SplObjectStorage ;
66use SplPriorityQueue ;
77
8- class Timers
8+ /**
9+ * A scheduler implementation that can hold multiple timer instances
10+ *
11+ * This class should only be used internally, see TimerInterface instead.
12+ *
13+ * @see TimerInterface
14+ * @internal
15+ */
16+ final class Timers
917{
1018 private $ time ;
1119 private $ timers ;
You can’t perform that action at this time.
0 commit comments