ClassDiscovery::storeInCache( string $type, string $class )

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

Store a value in cache.

Parameters

$typestringrequired
$classstringrequired

Source

private static function storeInCache($type, $class)
{
    self::$cache[$type] = $class;
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.