mirror of
https://github.com/YGGverse/cache-php.git
synced 2026-03-31 09:35:29 +00:00
update readme
This commit is contained in:
parent
b2111aee02
commit
bbbf224979
1 changed files with 2 additions and 2 deletions
|
|
@ -8,9 +8,9 @@ Extends [PHP memcached](https://www.php.net/manual/en/book.memcached.php)
|
||||||
#### Init
|
#### Init
|
||||||
|
|
||||||
```
|
```
|
||||||
$memory = new Yggverse\Cache\Memory(
|
$memory = new \Yggverse\Cache\Memory(
|
||||||
|
|
||||||
'localhost, // memcached server host, localhost by default
|
'localhost', // memcached server host, localhost by default
|
||||||
11211, // memcached server port, 11211 by default
|
11211, // memcached server port, 11211 by default
|
||||||
|
|
||||||
'my_app', // application namespace
|
'my_app', // application namespace
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue