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

Method config

src/lib.rs:1155–1157  ·  view source on GitHub ↗

Return the current project configuration. Returns a clone of the [`Config`](config::Config) loaded from `.phpantom.toml` (or the default config when the file is missing).

(&self)

Source from the content-addressed store, hash-verified

1153 /// Returns a clone of the [`Config`](config::Config) loaded from
1154 /// `.phpantom.toml` (or the default config when the file is missing).
1155 pub fn config(&self) -> config::Config {
1156 self.config.lock().clone()
1157 }
1158
1159 /// Replace the current configuration.
1160 ///

Calls 1

cloneMethod · 0.80