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

Method rename

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

@return static */

(string $name)

Source from the content-addressed store, hash-verified

4808 public function label(): string { return 'pen'; }
4809 /** @return static */
4810 public function rename(string $name): static { return $this; }
4811 /** @return static */
4812 public static function make(string $color = 'black'): static { return new static($color); }
4813 private function refill(): void {} // trip wire — must NOT appear on external $pen->

Callers 8

demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45
runDemoAssertionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected