| layout | title |
|---|---|
doc |
Memcache - Codeception - Documentation |
Connects to memcached using either Memcache or Memcached extension.
Performs a cleanup by flushing all values after each test run.
- Maintainer: davert
- Stability: beta
- Contact: codecept@davert.mail.ua
- host: localhost - memcached host to connect
- port: 11211 - default memcached port.
Be sure you don't use the production server to connect.
- memcache - instance of Memcache object
Flushes all Memcached data.
Checks item in Memcached doesn't exist or is the same as expected.
param$keyparam bool$value
Grabs value from memcached by key
Example:
{% highlight php %}
grabValueFromMemcached('users_count'); ?>{% endhighlight %}
param$keyreturnarray|string
Checks item in Memcached exists and the same as expected.
param$keyparam$value
Module reference is taken from the source code. Help us to improve documentation. Edit module reference