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

Function resolve

examples/demo.php:5000–5003  ·  view source on GitHub ↗

* @template T * @param class-string $class The class name * @return T */

(string $class)

Source from the content-addressed store, hash-verified

4998 * @return T
4999 */
5000function resolve(string $class): object
5001{
5002 return new $class();
5003}
5004
5005/**
5006 * @return array{logger: Pen, debug: bool}

Callers 3

demoMethod · 0.85
demoMethod · 0.85
runDemoAssertionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected