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

Method create

examples/demo.php:4729–4732  ·  view source on GitHub ↗

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

(string $class)

Source from the content-addressed store, hash-verified

4727 * @return T
4728 */
4729 public static function create(string $class): object
4730 {
4731 return new $class();
4732 }
4733}
4734
4735// ─── Generic Wrapper ────────────────────────────────────────────────────────

Callers 15

populateSuggestionsMethod · 0.45
afterExtractCallMethod · 0.45
afterOpenSslCallMethod · 0.45
promoteNativeTypesMethod · 0.45
pushInFunctionCallMethod · 0.45
popInFunctionCallMethod · 0.45
enterClassMethod · 0.45
enterTraitMethod · 0.45
enterFunctionLikeMethod · 0.45
enterNamespaceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected