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

Method demo

examples/demo.php:1609–1616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1607class ParamOverrideDemo
1608{
1609 public function demo(): void
1610 {
1611 foreach ($this->ingredients as $ingredient) {
1612 $ingredient->name; // Ingredient::$name
1613 $ingredient->format(); // Ingredient::format()
1614 }
1615 $this->recipe->name; // Recipe::$name
1616 }
1617
1618 /**
1619 * @param list<Ingredient> $ingredients

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected