original_string: public static function record_cache_miss($store, $definition, $misses = 1) {
          list($definitionstr, $mode) = self::get_definition_stat_id_and_mode($definition);
          self::ensure_ready_for_stats($store, $definitionstr, $mode);
          self::$stats[$definitionstr]['stores'][$store]['misses'] += $misses;
      }
code: public static function record_cache_miss($store, $definition, $misses = 1) {
          list($definitionstr, $mode) = self::get_definition_stat_id_and_mode($definition);
          self::ensure_ready_for_stats($store, $definitionstr, $mode);
          self::$stats[$definitionstr]['stores'][$store]['misses'] += $misses;
      }
code_tokens: public static function record_cache_miss ( $ store , $ definition , $ misses = 1 ) { list ( $ definitionstr , $ mode ) = self :: get_definition_stat_id_and_mode ( $ definition ) ; self :: ensure_ready_for_stats ( $ store , $ definitionstr , $ mode ) ; self :: $ stats [ $ definitionstr ] [ 'stores' ] [ $ store ] [ 'misses' ] += $ misses ; }
docstring: Record a cache miss in the stats for the given store and definition.
  
  In Moodle 2.9 the $definition argument changed from accepting only a string to accepting a string or a
  cache_definition instance. It is preferable to pass a cache definition instance.
  
  @internal
  @param string $store
  @param cache_definition $definition You used to be able to pass a string here, however that is deprecated please pass the
  actual cache_definition object now.
  @param int $misses The number of misses to record (by default 1)
docstring_tokens: Record a cache miss in the stats for the given store and definition .