Function Self_learning_cache->get_initial_status

Definitions

sources/caches.php

  • See if a cache key was initially set.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$key ID_TEXT No No required parameter N/A N/A Cache key

Returns

  • Whether it was
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * See if a cache key was initially set.
 *
 * @param  ID_TEXT $key Cache key
 * @return boolean Whether it was
 */

public function get_initial_status(string $key) : bool