Skip to content

Commit c929ba9

Browse files
dbuSimonFrings
andcommitted
fix references to the deprecated factory
the readme should not recommend to use the factory anymore but Loop::create Co-authored-by: Simon Frings <simon.frings1@web.de>
1 parent be6dee4 commit c929ba9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ All of the event loops support these features:
339339

340340
For most consumers of this package, the underlying event loop implementation is
341341
an implementation detail.
342-
You should use the [`Factory`](#factory) to automatically create a new instance.
342+
You should use the [`Loop` class](#loop) to automatically create a new instance.
343343

344344
Advanced! If you explicitly need a certain event loop implementation, you can
345345
manually instantiate one of the following classes.
@@ -356,7 +356,7 @@ function and is the only implementation which works out of the box with PHP.
356356
This event loop works out of the box on PHP 5.3 through PHP 7+ and HHVM.
357357
This means that no installation is required and this library works on all
358358
platforms and supported PHP versions.
359-
Accordingly, the [`Factory`](#factory) will use this event loop by default if
359+
Accordingly, the [`Loop` class](#loop) and the deprecated [`Factory`](#factory) will use this event loop by default if
360360
you do not install any of the event loop extensions listed below.
361361

362362
Under the hood, it does a simple `select` system call.
@@ -433,7 +433,7 @@ This event loop does only work with PHP 5.
433433
An [unofficial update](https://github.com/php/pecl-event-libevent/pull/2) for
434434
PHP 7 does exist, but it is known to cause regular crashes due to `SEGFAULT`s.
435435
To reiterate: Using this event loop on PHP 7 is not recommended.
436-
Accordingly, the [`Factory`](#factory) will not try to use this event loop on
436+
Accordingly, neither the [`Loop` object](#loop) nor the deprecated [`Factory`](#factory) will try to use this event loop on
437437
PHP 7.
438438

439439
This event loop is known to trigger a readable listener only if

0 commit comments

Comments
 (0)