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

Method connect

tests/fixtures/sample.php:81–87  ·  view source on GitHub ↗

Open the connection. */

()

Source from the content-addressed store, hash-verified

79
80 /** Open the connection. */
81 public function connect(): bool
82 {
83 log_message("Connecting to {$this->host}:{$this->port}");
84 $this->markConnected();
85 $this->connected = true;
86 return true;
87 }
88
89 /** Close the connection. */
90 public function disconnect(): void

Callers 1

acquireMethod · 0.45

Calls 2

log_messageFunction · 0.85
markConnectedMethod · 0.80

Tested by

no test coverage detected