File tree Expand file tree Collapse file tree 3 files changed +3
-29
lines changed Expand file tree Collapse file tree 3 files changed +3
-29
lines changed Original file line number Diff line number Diff line change @@ -274,19 +274,6 @@ public static function setErrorHandler(callable $callback = null)
274
274
self ::get ()->setErrorHandler ($ callback );
275
275
}
276
276
277
- /**
278
- * Check whether an optional feature is supported by the current event loop
279
- * driver.
280
- *
281
- * @param int $feature Loop::FEATURE_* constant
282
- *
283
- * @return bool
284
- */
285
- public static function supports ($ feature )
286
- {
287
- return self ::get ()->supports ($ feature );
288
- }
289
-
290
277
/**
291
278
* Disable construction as this is a static class.
292
279
*/
Original file line number Diff line number Diff line change @@ -146,20 +146,6 @@ public function unreference($watcherId);
146
146
*/
147
147
public function setErrorHandler (callable $ callback = null );
148
148
149
- /**
150
- * Check whether an optional features is supported by this implementation
151
- * and system.
152
- *
153
- * Example: If the implementation can handle signals using PCNTL, but the
154
- * PCNTL extension is not available, the feature MUST NOT be marked as
155
- * supported.
156
- *
157
- * @param int $feature FEATURE constant
158
- *
159
- * @return bool
160
- */
161
- public function supports ($ feature );
162
-
163
149
/**
164
150
* Get the underlying loop handle.
165
151
*
Original file line number Diff line number Diff line change 3
3
use Interop \Async ;
4
4
5
5
/**
6
- * Must be thrown if an optional feature is not supported by the current driver
7
- * or system.
6
+ * Must be thrown if a feature is not supported by the system.
7
+ *
8
+ * This might happen if PCNTL is missing and the loop driver doesn't support another way to dispatch signals.
8
9
*/
9
10
class UnsupportedFeatureException extends \RuntimeException
10
11
{
You can’t perform that action at this time.
0 commit comments