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

Method format

examples/demo.php:4450–4453  ·  view source on GitHub ↗
(string $template)

Source from the content-addressed store, hash-verified

4448 }
4449
4450 public function format(string $template): string
4451 {
4452 return str_replace('{name}', $this->getName(), $template);
4453 }
4454
4455 public static function findByEmail(string $email): ?self
4456 {

Callers 4

demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45
demoMethod · 0.45

Calls 1

getNameMethod · 0.95

Tested by

no test coverage detected