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

Method stub_constant_index_mut

src/lib.rs:920–924  ·  view source on GitHub ↗

Write-access the stub constant index (used by integration tests to inject test stub entries).

(
        &self,
    )

Source from the content-addressed store, hash-verified

918 /// Write-access the stub constant index (used by integration tests
919 /// to inject test stub entries).
920 pub fn stub_constant_index_mut(
921 &self,
922 ) -> parking_lot::RwLockWriteGuard<'_, HashMap<&'static str, &'static str>> {
923 self.stub_constant_index.write()
924 }
925
926 /// Borrow the autoload function index (used by integration tests to
927 /// populate discovered function entries for non-Composer projects).

Calls 1

writeMethod · 0.80