HH\set_implicit_context

Sets implicit context $context keyed by $key using the $memokey when memoization is needed

namespace HH;

function set_implicit_context(
  string $key,
  mixed $context,
  string $memokey,
): int;

Returns the previous implicit context's index.

Parameters

  • string $key
  • mixed $context
  • string $memokey

Returns

  • int