Skip to content

Commit b2d8913

Browse files
authored
Merge pull request #112 from Nyholm/patch-1
Use full namespace so the example is runnable
2 parents dc39f79 + fabbe7b commit b2d8913

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ local Redis server and send some requests:
6060

6161
```php
6262
$loop = React\EventLoop\Factory::create();
63-
$factory = new Factory($loop);
63+
$factory = new Clue\React\Redis\Factory($loop);
6464

6565
$client = $factory->createLazyClient('localhost');
6666
$client->set('greeting', 'Hello world');
@@ -92,7 +92,7 @@ It also registers everything with the main [`EventLoop`](https://github.com/reac
9292

9393
```php
9494
$loop = \React\EventLoop\Factory::create();
95-
$factory = new Factory($loop);
95+
$factory = new \Clue\React\Redis\Factory($loop);
9696
```
9797

9898
If you need custom DNS, proxy or TLS settings, you can explicitly pass a

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy