CodeExplorer deleteEverything example
private static ?array
$instances = null;
public static function clearInstancesMemory(): void
{ if (!
static::
$instances) { static::
$instances =
[];
return;
} foreach (static::
$instances as $memoryAdapter) { $memoryAdapter->
deleteEverything();
} } public static function resetInstances(): void
{ static::
clearInstancesMemory();
static::
$instances =
[];
} public function create(array
$config): FilesystemAdapter
{