Function __global->persistent_cache_type

Definitions

sources/caches.php

  • Get the name of the class for the active persistent cache.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Returns

  • The class name of the persistent cache being used (null: persistent cache is disabled)
  • Type: ?ID_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the name of the class for the active persistent cache.
 *
 * @return ?ID_TEXT The class name of the persistent cache being used (null: persistent cache is disabled)
 */

function persistent_cache_type() : ?string