Function Self_learning_cache->save

Definitions

sources/caches.php

  • Save the cache, after some change has happened.
  • Visibility: private
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$do_immediately boolean No No False N/A N/A Immediately save the cache change (slow...)

Preview

Code (PHP)

/**
 * Save the cache, after some change has happened.
 *
 * @param  boolean $do_immediately Immediately save the cache change (slow...)
 */

private function save(bool $do_immediately = false)