@@ -28,9 +28,6 @@ public function __construct()
2828 $ this ->timers = new SplObjectStorage ();
2929 }
3030
31- /**
32- * {@inheritdoc}
33- */
3431 public function addReadStream ($ stream , callable $ listener )
3532 {
3633 $ key = (int ) $ stream ;
@@ -56,9 +53,6 @@ private function getStreamListenerClosure($stream, callable $listener) {
5653 };
5754 }
5855
59- /**
60- * {@inheritdoc}
61- */
6256 public function addWriteStream ($ stream , callable $ listener )
6357 {
6458 $ key = (int ) $ stream ;
@@ -72,9 +66,6 @@ public function addWriteStream($stream, callable $listener)
7266 $ this ->writeStreams [$ key ] = $ event ;
7367 }
7468
75- /**
76- * {@inheritdoc}
77- */
7869 public function removeReadStream ($ stream )
7970 {
8071 $ key = (int ) $ stream ;
@@ -87,9 +78,6 @@ public function removeReadStream($stream)
8778 unset($ this ->readStreams [$ key ]);
8879 }
8980
90- /**
91- * {@inheritdoc}
92- */
9381 public function removeWriteStream ($ stream )
9482 {
9583 $ key = (int ) $ stream ;
@@ -102,18 +90,12 @@ public function removeWriteStream($stream)
10290 unset($ this ->writeStreams [$ key ]);
10391 }
10492
105- /**
106- * {@inheritdoc}
107- */
10893 public function removeStream ($ stream )
10994 {
11095 $ this ->removeReadStream ($ stream );
11196 $ this ->removeWriteStream ($ stream );
11297 }
11398
114- /**
115- * {@inheritdoc}
116- */
11799 public function addTimer ($ interval , callable $ callback )
118100 {
119101 $ timer = new Timer ($ this , $ interval , $ callback , false );
@@ -132,9 +114,6 @@ public function addTimer($interval, callable $callback)
132114 return $ timer ;
133115 }
134116
135- /**
136- * {@inheritdoc}
137- */
138117 public function addPeriodicTimer ($ interval , callable $ callback )
139118 {
140119 $ timer = new Timer ($ this , $ interval , $ callback , true );
@@ -150,9 +129,6 @@ public function addPeriodicTimer($interval, callable $callback)
150129 return $ timer ;
151130 }
152131
153- /**
154- * {@inheritdoc}
155- */
156132 public function cancelTimer (TimerInterface $ timer )
157133 {
158134 if (!isset ($ this ->timers [$ timer ])) {
@@ -164,25 +140,16 @@ public function cancelTimer(TimerInterface $timer)
164140 $ this ->timers ->detach ($ timer );
165141 }
166142
167- /**
168- * {@inheritdoc}
169- */
170143 public function isTimerActive (TimerInterface $ timer )
171144 {
172145 return $ this ->timers ->contains ($ timer );
173146 }
174147
175- /**
176- * {@inheritdoc}
177- */
178148 public function futureTick (callable $ listener )
179149 {
180150 $ this ->futureTickQueue ->add ($ listener );
181151 }
182152
183- /**
184- * {@inheritdoc}
185- */
186153 public function run ()
187154 {
188155 $ this ->running = true ;
@@ -205,9 +172,6 @@ public function run()
205172 }
206173 }
207174
208- /**
209- * {@inheritdoc}
210- */
211175 public function stop ()
212176 {
213177 $ this ->running = false ;
0 commit comments