HH\clear_static_memoization

Clear memoization data

  • if $cls is non-null, clear memoziation cache for $cls::$func, or for all static memoized methods if $func is null
  • if $cls is null, clear memoization cache for $func
namespace HH;

function clear_static_memoization(
  ?string $cls,
  ?string $func = NULL,
): bool;

Parameters

  • ?string $cls
  • ?string $func = NULL