MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / acquire

Method acquire

tests/fixtures/sample.php:116–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 public function acquire(): ?Connection
117 {
118 $this->log("Acquiring connection from pool");
119 $conn = new Connection($this->host);
120 $conn->connect();
121 return $conn;
122 }
123}
124
125/** Connection state enumeration. */

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
connectMethod · 0.45

Tested by

no test coverage detected