File manager - Edit - /usr/local/prospamfilter/vendor/codeception/codeception/docs/modules/Memcache.md
Back
# Memcache Connects to [memcached](http://www.memcached.org/) using either _Memcache_ or _Memcached_ extension. Performs a cleanup by flushing all values after each test run. ## Status * Maintainer: **davert** * Stability: **beta** * Contact: codecept@davert.mail.ua ## Configuration * host: localhost - memcached host to connect * port: 11211 - default memcached port. Be sure you don't use the production server to connect. ## Public Properties * memcache - instance of Memcache object ## Actions ### clearMemcache Flushes all Memcached data. ### dontSeeInMemcached Checks item in Memcached doesn't exist or is the same as expected. * `param` $key * `param bool` $value ### grabValueFromMemcached Grabs value from memcached by key Example: ``` php <?php $users_count = $I->grabValueFromMemcached('users_count'); ?> ``` * `param` $key * `return` array|string ### seeInMemcached Checks item in Memcached exists and the same as expected. * `param` $key * `param` $value <p> </p><div class="alert alert-warning">Module reference is taken from the source code. <a href="https://github.com/Codeception/Codeception/tree/2.2/src/Codeception/Module/Memcache.php">Help us to improve documentation. Edit module reference</a></div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings