MCPcopy Create free account
hub / github.com/PHPantom-dev/phpantom_lsp / drop

Method drop

src/virtual_members/mod.rs:121–123  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

119
120impl Drop for ResolvedCacheGuard {
121 fn drop(&mut self) {
122 ACTIVE_RESOLVED_CACHE.with(|c| c.set(self.prev));
123 }
124}
125
126/// Activate a [`ResolvedClassCache`] for the current thread.

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected