The containing class is available as IO\MemoryHandle in the www repository.
IO\MemoryHandle
public function close(): void;
void