For additional reference, please review the source
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 $key
- param bool $value
Grabs value from memcached by key
Example:
<?php
$users_count = $I->grabValueFromMemcached('users_count');
?>- param $key
- return array|string
Checks item in Memcached exists and the same as expected.
- param $key
- param $value